Function at 0x4b50cb
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9cba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd7c
mov dword [ebp - 0x54c], 0x14c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x958], eax
lea eax, [ebp - 0xc00]
push eax
lea ecx, [ebp - 0x544]
call fcn.004b6850
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jne 0x4b5125
mov dword [ebp + 0x10], 0x5d3658
push 0x108
push 0
lea ecx, [ebp - 0x534]
push ecx
call fcn.005998e0
add esp, 0xc
cmp dword [0x936244], 0
jne 0x4b5152
cmp dword [0x5c383c], 1
jne 0x4b5152
call fcn.004b4542
cmp dword [0x936244], 0
jne 0x4b5194
mov dword [0x5c383c], 0
mov edx, dword [0x93624c]
push edx
push str._lu:_Error_Logger_not_Init_n
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x544]
call fcn.004b68f0
jmp 0x4b610e
push 0x936250
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x93624c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [0x9362a4], 0
jne 0x4b51d3
push 0x420
call fcn.0059a75e
add esp, 4
mov dword [0x9362a4], eax
cmp dword [0x9362a4], 0
jne 0x4b51d3
jmp 0x4b60bc
cmp dword [0x936200], 2
je 0x4b5213
mov ecx, dword [0x93624c]
push ecx
push str._lu:
mov edx, dword [ebp + 0x10]
push edx
call fcn.00599f69
add esp, 0xc
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.004b613c
add esp, 8
push 0x5c3d1c
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 8
cmp dword [0x5c383c], 0
je 0x4b57c3
push 0x1fa0
call fcn.0059a75e
add esp, 4
mov dword [ebp - 0xbac], eax
cmp dword [ebp - 0xbac], 0
jne 0x4b5241
jmp 0x4b60bc
push 0x9362b4
lea ecx, [ebp - 0x544]
call fcn.004b6930
mov edx, dword [ebp - 0xbac]
push edx
push 0x1fa0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x4b52fb
lea eax, [ebp - 0xc14]
push eax
push 0x5c3d20
lea ecx, [ebp - 0xc10]
call fcn.004b68c0
mov dword [ebp - 0xd08], eax
mov ecx, dword [ebp - 0xd08]
mov dword [ebp - 0xd0c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xd0c]
push edx
mov eax, dword [ebp - 0xbac]
push eax
lea ecx, [ebp - 0xc24]
push ecx
call fcn.004b7a10
add esp, 0xc
mov dword [ebp - 0xd10], eax
mov edx, dword [ebp - 0xd10]
mov dword [ebp - 0xd14], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd14]
push eax
lea ecx, [ebp - 0x544]
call fcn.004b6950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc24]
call fcn.004b68f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc10]
call fcn.004b68f0
push 0x1fa0
mov ecx, dword [ebp - 0xbac]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4b544b
mov edx, dword [ebp - 0xbac]
push edx
call fcn.005997d0
add esp, 4
mov ecx, dword [ebp - 0xbac]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0xba8], edx
jmp 0x4b5347
mov eax, dword [ebp - 0xba8]
sub eax, 1
mov dword [ebp - 0xba8], eax
mov ecx, dword [ebp - 0xba8]
cmp ecx, dword [ebp - 0xbac]
jb 0x4b5383
mov edx, dword [ebp - 0xba8]
movsx eax, byte [edx]
cmp eax, 0x5c
je 0x4b537f
mov ecx, dword [ebp - 0xba8]
movsx edx, byte [ecx]
cmp edx, 0x2f
je 0x4b537f
mov eax, dword [ebp - 0xba8]
movsx ecx, byte [eax]
cmp ecx, 0x3a
jne 0x4b5381
jmp 0x4b5383
jmp 0x4b5338
mov edx, dword [ebp - 0xba8]
cmp edx, dword [ebp - 0xbac]
je 0x4b544b
mov eax, dword [ebp - 0xba8]
movsx ecx, byte [eax]
cmp ecx, 0x3a
jne 0x4b53b2
mov edx, dword [ebp - 0xba8]
add edx, 1
mov dword [ebp - 0xba8], edx
mov eax, dword [ebp - 0xba8]
mov byte [eax], 0
lea ecx, [ebp - 0xc38]
push ecx
push 0x5c3d24
lea ecx, [ebp - 0xc34]
call fcn.004b68c0
mov dword [ebp - 0xd18], eax
mov edx, dword [ebp - 0xd18]
mov dword [ebp - 0xd1c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd1c]
push eax
mov ecx, dword [ebp - 0xbac]
push ecx
lea edx, [ebp - 0xc48]
push edx
call fcn.004b7a10
add esp, 0xc
mov dword [ebp - 0xd20], eax
mov eax, dword [ebp - 0xd20]
mov dword [ebp - 0xd24], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xd24]
push ecx
lea ecx, [ebp - 0x544]
call fcn.004b6950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc48]
call fcn.004b68f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc34]
call fcn.004b68f0
push 0x1fa0
mov edx, dword [ebp - 0xbac]
push edx
push 0x5c3d28
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4b54fa
lea eax, [ebp - 0xc5c]
push eax
push 0x5c3d38
lea ecx, [ebp - 0xc58]
call fcn.004b68c0
mov dword [ebp - 0xd28], eax
mov ecx, dword [ebp - 0xd28]
mov dword [ebp - 0xd2c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xd2c]
push edx
mov eax, dword [ebp - 0xbac]
push eax
lea ecx, [ebp - 0xc6c]
push ecx
call fcn.004b7a10
add esp, 0xc
mov dword [ebp - 0xd30], eax
mov edx, dword [ebp - 0xd30]
mov dword [ebp - 0xd34], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xd34]
push eax
lea ecx, [ebp - 0x544]
call fcn.004b6950
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc6c]
call fcn.004b68f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc58]
call fcn.004b68f0
push 0x1fa0
mov ecx, dword [ebp - 0xbac]
push ecx
push str._NT_ALTERNATE_SYMBOL_PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4b55a9
lea edx, [ebp - 0xc80]
push edx
push 0x5c3d58
lea ecx, [ebp - 0xc7c]
call fcn.004b68c0
mov dword [ebp - 0xd38], eax
mov eax, dword [ebp - 0xd38]
mov dword [ebp - 0xd3c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xd3c]
push ecx
mov edx, dword [ebp - 0xbac]
push edx
lea eax, [ebp - 0xc90]
push eax
call fcn.004b7a10
add esp, 0xc
mov dword [ebp - 0xd40], eax
mov ecx, dword [ebp - 0xd40]
mov dword [ebp - 0xd44], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xd44]
push edx
lea ecx, [ebp - 0x544]
call fcn.004b6950
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc90]
call fcn.004b68f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc7c]
call fcn.004b68f0
push 0x1fa0
mov eax, dword [ebp - 0xbac]
push eax
push str.SYSTEMROOT
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4b5658
lea ecx, [ebp - 0xca4]
push ecx
push 0x5c3d68
lea ecx, [ebp - 0xca0]
call fcn.004b68c0
mov dword [ebp - 0xd48], eax
mov edx, dword [ebp - 0xd48]
mov dword [ebp - 0xd4c], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xd4c]
push eax
mov ecx, dword [ebp - 0xbac]
push ecx
lea edx, [ebp - 0xcb4]
push edx
call fcn.004b7a10
add esp, 0xc
mov dword [ebp - 0xd50], eax
mov eax, dword [ebp - 0xd50]
mov dword [ebp - 0xd54], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xd54]
push ecx
lea ecx, [ebp - 0x544]
call fcn.004b6950
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xcb4]
call fcn.004b68f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xca0]
call fcn.004b68f0
lea ecx, [ebp - 0x544]
call fcn.004b6a10
test eax, eax
jbe 0x4b56c1
lea ecx, [ebp - 0x544]
call fcn.004b6a10
sub eax, 1
push eax
push 0
lea edx, [ebp - 0xcc4]
push edx
lea ecx, [ebp - 0x544]
call fcn.004b6a30
mov dword [ebp - 0xd58], eax
mov eax, dword [ebp - 0xd58]
mov dword [ebp - 0xd5c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xd5c]
push ecx
lea ecx, [ebp - 0x544]
call fcn.004b6910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc4]
call fcn.004b68f0
push 0x1fa0
lea ecx, [ebp - 0x544]
call fcn.004b69e0
push eax
mov edx, dword [ebp - 0xbac]
push edx
call fcn.005999b0
add esp, 0xc
mov eax, dword [ebp - 0xbac]
mov byte [eax + 0x1f9f], 0
push 0
mov ecx, dword [ebp - 0xbac]
push ecx
mov edx, dword [ebp - 0x958]
push edx
call dword [0x93628c]
test eax, eax
jne 0x4b574c
cmp dword [0x936200], 2
je 0x4b572f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x93624c]
push eax
push str._lu:_SymInitialize__:_GetLastError___lu_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 0x10
cmp dword [ebp - 0xbac], 0
je 0x4b5747
mov edx, dword [ebp - 0xbac]
push edx
call fcn.0059a7ea
add esp, 4
jmp 0x4b60bc
call dword [0x936284]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x42c]
or al, 0x10
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
and ecx, 0xfffffffd
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x42c]
and edx, 0xfffffffb
mov dword [ebp - 0x42c], edx
mov eax, dword [ebp - 0x42c]
push eax
call dword [0x936294]
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov edx, dword [ebp - 0x958]
push edx
call fcn.004b619e
add esp, 0xc
cmp dword [ebp - 0xbac], 0
je 0x4b57c3
mov eax, dword [ebp - 0xbac]
push eax
call fcn.0059a7ea
add esp, 4
mov dword [0x5c383c], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xb8]
xor eax, eax
mov dword [ebp - 0x534], edx
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x528], 3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xb4]
xor eax, eax
mov dword [ebp - 0x514], edx
mov dword [ebp - 0x510], eax
mov dword [ebp - 0x508], 3
push 0x420
push 0
mov ecx, dword [0x9362a4]
push ecx
call fcn.005998e0
add esp, 0xc
mov edx, dword [0x9362a4]
mov dword [edx], 0x20
mov eax, dword [0x9362a4]
mov dword [eax + 0x18], 0x400
push 0x18
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.005998e0
add esp, 0xc
mov dword [ebp - 0x24], 0x18
push 0x248
push 0
lea edx, [ebp - 0xba0]
push edx
call fcn.005998e0
add esp, 0xc
mov dword [ebp - 0xba0], 0x248
mov dword [ebp - 0x428], 0
jmp 0x4b588f
mov eax, dword [ebp - 0x428]
add eax, 1
mov dword [ebp - 0x428], eax
push 0
mov ecx, dword [0x93627c]
push ecx
mov edx, dword [0x936274]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
lea ecx, [ebp - 0x534]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x54c]
push ecx
call dword [0x936298]
test eax, eax
jne 0x4b58ca
jmp 0x4b608b
mov dword [ebp - 0x548], 0
cmp dword [0x936200], 1
jne 0x4b58fb
mov edx, dword [ebp - 0x428]
push edx
mov eax, dword [0x93624c]
push eax
push str._n_lu:__3d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 0x10
mov edx, dword [ebp - 0x534]
or edx, dword [ebp - 0x530]
test edx, edx
jne 0x4b5976
mov eax, dword [0x936200]
mov dword [ebp - 0xd60], eax
cmp dword [ebp - 0xd60], 0
je 0x4b5933
cmp dword [ebp - 0xd60], 1
je 0x4b594d
cmp dword [ebp - 0xd60], 2
je 0x4b5960
jmp 0x4b5971
mov ecx, dword [0x93624c]
push ecx
push str._lu:___nosymbols__PC__0__n
mov edx, dword [ebp + 0x10]
push edx
call fcn.00599f69
add esp, 0xc
jmp 0x4b5971
push str._____nosymbols__PC__0__n
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 8
jmp 0x4b5971
push str._STACKENTRY_decl___nosymbols__PC__0_____n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 8
jmp 0x4b606c
mov byte [ebp - 0x424], 0
mov byte [ebp - 0x94c], 0
mov dword [ebp - 0x954], 0
mov dword [ebp - 0x950], 0
mov edx, dword [0x9362a4]
push edx
lea eax, [ebp - 0x954]
push eax
mov ecx, dword [ebp - 0x530]
push ecx
mov edx, dword [ebp - 0x534]
push edx
mov eax, dword [ebp - 0x958]
push eax
call dword [0x936288]
test eax, eax
jne 0x4b5a0b
cmp dword [0x936200], 1
jne 0x4b5a06
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1e7
je 0x4b59f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.___SymGetSymFromAddr__:_GetLastError___lu_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 0xc
jmp 0x4b5a06
push 0x5c3e34
mov edx, dword [ebp + 0x10]
push edx
call fcn.00599f69
add esp, 8
jmp 0x4b5ae3
push 0x1000
push 0x400
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [0x9362a4]
add ecx, 0x1c
push ecx
call dword [0x93629c]
push 0
push 0x400
lea edx, [ebp - 0x94c]
push edx
mov eax, dword [0x9362a4]
add eax, 0x1c
push eax
call dword [0x93629c]
cmp dword [0x936200], 1
jne 0x4b5ae3
lea ecx, [ebp - 0x424]
push ecx
call fcn.005997d0
add esp, 4
test eax, eax
jbe 0x4b5a8a
mov edx, dword [ebp - 0x954]
push edx
lea eax, [ebp - 0x424]
push eax
push str.______s__ld_bytes_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 0x10
jmp 0x4b5ac4
mov edx, dword [ebp - 0x954]
push edx
mov eax, dword [0x9362a4]
add eax, 0x1c
push eax
push str._____Sig:___s__ld_bytes_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 0x10
mov edx, dword [0x9362a4]
add edx, 0x1c
push edx
lea eax, [ebp - 0x424]
push eax
call fcn.005996e0
add esp, 8
lea ecx, [ebp - 0x94c]
push ecx
mov edx, dword [0x93624c]
push edx
push str._lu:_____Decl:__s_n
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 0x10
mov dword [ebp - 0xba4], 0
cmp dword [0x936278], 0
je 0x4b5d76
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0xba4]
push edx
mov eax, dword [ebp - 0x530]
push eax
mov ecx, dword [ebp - 0x534]
push ecx
mov edx, dword [ebp - 0x958]
push edx
call dword [0x936278]
test eax, eax
jne 0x4b5c0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1e7
je 0x4b5c06
cmp dword [ebp - 0x428], 0
jle 0x4b5c06
cmp dword [0x936200], 2
jne 0x4b5be7
push 0x5c3e7c
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 8
mov dword [ebp - 0x548], 1
mov ecx, dword [ebp - 0x954]
push ecx
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0xcd4]
push eax
call fcn.004b4a85
add esp, 8
mov dword [ebp - 0xd64], eax
mov ecx, dword [ebp - 0xd64]
mov dword [ebp - 0xd68], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xd68]
call fcn.004b69e0
push eax
push 0x5c3e8c
mov edx, dword [ebp + 0x10]
push edx
call fcn.00599f69
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcd4]
call fcn.004b68f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.srcfile_SymGetLineFromAddr__:_GetLastError___lu_
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 0xc
jmp 0x4b5c06
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [0x93624c]
push ecx
push str._lu:_SymGetLineFromAddr__:_GetLastError___lu_n
mov edx, dword [ebp + 0x10]
push edx
call fcn.00599f69
add esp, 0x10
jmp 0x4b5d76
mov eax, dword [0x936200]
mov dword [ebp - 0xd6c], eax
cmp dword [ebp - 0xd6c], 0
je 0x4b5c62
cmp dword [ebp - 0xd6c], 1
je 0x4b5c36
cmp dword [ebp - 0xd6c], 2
je 0x4b5c95
jmp 0x4b5d76
mov ecx, dword [ebp - 0xba4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x93624c]
push ecx
push str._lu:_____Line:__s__lu___ld_bytes_n
mov edx, dword [ebp + 0x10]
push edx
call fcn.00599f69
add esp, 0x18
jmp 0x4b5d76
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0xba4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x93624c]
push ecx
push str._lu:__s__lu___ld_bytes___s__n
mov edx, dword [ebp + 0x10]
push edx
call fcn.00599f69
add esp, 0x1c
jmp 0x4b5d76
push 0x5c3f54
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 8
mov dword [ebp - 0x548], 1
mov ecx, dword [ebp - 0x954]
push ecx
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0xce4]
push eax
call fcn.004b4a85
add esp, 8
mov dword [ebp - 0xd70], eax
mov ecx, dword [ebp - 0xd70]
mov dword [ebp - 0xd74], ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xd74]
call fcn.004b69e0
push eax
push 0x5c3f64
mov edx, dword [ebp + 0x10]
push edx
call fcn.00599f69
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xce4]
call fcn.004b68f0
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0xba4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0xcf4]
push ecx
call fcn.004b4a85
add esp, 8
mov dword [ebp - 0xd78], eax
mov edx, dword [ebp - 0xd78]
mov dword [ebp - 0xd7c], edx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xd7c]
call fcn.004b69e0
push eax
push str.srcfile__s__line__lu__line_offset__ld_
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcf4]
call fcn.004b68f0
cmp dword [0x936200], 1
je 0x4b5d8c
cmp dword [0x936200], 2
jne 0x4b6049
lea ecx, [ebp - 0xba0]
push ecx
mov edx, dword [ebp - 0x530]
push edx
mov eax, dword [ebp - 0x534]
push eax
mov ecx, dword [ebp - 0x958]
push ecx
call dword [0x936280]
test eax, eax
jne 0x4b5ddf
cmp dword [0x936200], 1
jne 0x4b5dda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [0x93624c]
push edx
push str._lu:_SymGetModuleInfo_:_GetLastError___lu_n
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 0x10
jmp 0x4b6049
mov ecx, dword [ebp - 0xb80]
mov dword [ebp - 0xd80], ecx
cmp dword [ebp - 0xd80], 7
ja case.default.0x4b5dfe
mov edx, dword [ebp - 0xd80]
jmp dword [edx*4 + 0x4b611c]
push str._nosymbols_
lea eax, [ebp - 0xbfc]
push eax
call fcn.005996e0
add esp, 8
jmp 0x4b5edb
push str.COFF
lea ecx, [ebp - 0xbfc]
push ecx
call fcn.005996e0
add esp, 8
jmp 0x4b5edb
push 0x5c3ff0
lea edx, [ebp - 0xbfc]
push edx
call fcn.005996e0
add esp, 8
jmp 0x4b5edb
push 0x5c3ff4
lea eax, [ebp - 0xbfc]
push eax
call fcn.005996e0
add esp, 8
jmp 0x4b5edb
push str._exported_
lea ecx, [ebp - 0xbfc]
push ecx
call fcn.005996e0
add esp, 8
jmp 0x4b5edb
push str._deferred_
lea edx, [ebp - 0xbfc]
push edx
call fcn.005996e0
add esp, 8
jmp 0x4b5edb
push 0x5c4010
lea eax, [ebp - 0xbfc]
push eax
call fcn.005996e0
add esp, 8
jmp 0x4b5edb
push 0x5c4014
lea ecx, [ebp - 0xbfc]
push ecx
call fcn.005996e0
add esp, 8
jmp 0x4b5edb
mov edx, dword [ebp - 0xb80]
push edx
push str.symtype_ld
push 0x50
lea eax, [ebp - 0xbfc]
push eax
call fcn.0059c449
add esp, 0x10
cmp dword [0x936200], 2
jne 0x4b5f8a
cmp dword [ebp - 0x548], 0
jne 0x4b5f8a
push str._STACKENTRY
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 8
mov dword [ebp - 0x548], 1
mov edx, dword [ebp - 0x954]
push edx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0xd04]
push ecx
call fcn.004b4a85
add esp, 8
mov dword [ebp - 0xd84], eax
mov edx, dword [ebp - 0xd84]
mov dword [ebp - 0xd88], edx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xd88]
call fcn.004b69e0
push eax
push str.decl__s__decl_offset__ld_
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd04]
call fcn.004b68f0
push str.srcfile__
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 8
mov dword [ebp - 0x548], 1
cmp dword [0x936200], 1
jne 0x4b601a
mov edx, dword [ebp - 0xb94]
push edx
mov eax, dword [ebp - 0xb98]
push eax
lea ecx, [ebp - 0xb7c]
push ecx
mov edx, dword [0x93624c]
push edx
push str._lu:_____Mod:___s__base:__08lxh_n
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 0x18
cmp dword [ebp - 0xb80], 0
jne 0x4b6018
mov ecx, dword [ebp - 0x530]
push ecx
mov edx, dword [ebp - 0x534]
push edx
mov eax, dword [0x93624c]
push eax
push str._lu:_____Offset:_0x_8.8x_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 0x14
lea edx, [ebp - 0xa5c]
push edx
lea eax, [ebp - 0xbfc]
push eax
mov ecx, dword [0x93624c]
push ecx
push str._lu:_____Sym:__type:__s__file:__s_n
mov edx, dword [ebp + 0x10]
push edx
call fcn.00599f69
add esp, 0x14
jmp 0x4b6049
cmp dword [ebp - 0x548], 1
jne 0x4b6049
mov eax, dword [ebp - 0xb94]
push eax
mov ecx, dword [ebp - 0xb98]
push ecx
lea edx, [ebp - 0xb7c]
push edx
push str.module__s__base__08lx_
mov eax, dword [ebp + 0x10]
push eax
call fcn.00599f69
add esp, 0x14
cmp dword [0x936200], 2
jne 0x4b606c
cmp dword [ebp - 0x548], 1
jne 0x4b606c
push 0x5c40e0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 8
mov edx, dword [ebp - 0x524]
or edx, dword [ebp - 0x520]
test edx, edx
jne 0x4b6086
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4b608b
jmp 0x4b5880
cmp dword [0x936200], 2
je 0x4b60bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4b60bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x93624c]
push eax
push str._n_lu:_StackWalk__:_GetLastError___lu_n
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00599f69
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x4b60f1
push 0x5c410c
mov edx, dword [ebp + 0x10]
push edx
call fcn.00599f69
add esp, 8
mov eax, dword [0x93624c]
xor edx, edx
mov ecx, 0x3e8
div ecx
test edx, edx
je 0x4b60f1
mov edx, dword [ebp + 0x10]
push edx
call fcn.0059c2e3
add esp, 4
push 0x936250
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x544]
call fcn.004b68f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret