Function at 0x474e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5c952d
mov eax, dword fs:[0]
push eax
sub esp, 0xc10
mov eax, dword [0x61a654]
xor eax, esp
mov dword [esp + 0xc0c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61a654]
xor eax, esp
push eax
lea eax, [esp + 0xc24]
mov dword fs:[0], eax
mov edi, dword [esp + 0xc34]
mov esi, dword [esp + 0xc38]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x40], edi
mov byte [edi + 4], bl
push 0xa4
lea eax, [esp + 0x64]
push ebx
push eax
mov dword [esp + 0xc38], ebx
mov dword [esp + 0x2c], 1
call fcn.005a06a0
mov edx, dword [esi + 0xc4]
mov ecx, dword [esi + 0xb8]
add esp, 0xc
push ebx
mov eax, 3
mov dword [esp + 0x88], edx
mov edx, dword [0x620b2c]
push edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x88], eax
mov eax, dword [0x620b28]
push eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0xb4]
push ebx
mov dword [esp + 0x88], ecx
push ebx
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.kernel32.dll_GetCurrentThread]
mov esi, dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call esi
push eax
push 0x14c
call dword [0x620b24]
test eax, eax
je 0x4751e1
lea ebp, [ebx + 0x10]
jmp 0x474f80
cmp dword [esp + 0x78], ebx
je 0x475220
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x475220
cmp dword [esp + 0xc3c], ebx
jle 0x474fab
dec dword [esp + 0xc3c]
jmp 0x4751af
lea edx, [esp + 0x208]
push edx
lea ecx, [esp + 0x20]
push ecx
push eax
mov dword [esp + 0x214], 0x218
mov dword [esp + 0x224], 0x200
mov dword [esp + 0x28], ebx
call esi
push eax
call dword [0x620b30]
test eax, eax
je 0x475031
push 0x47f8
push 0x100
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0x228]
push eax
call dword [0x620b1c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x108]
push edx
push eax
push ecx
lea edx, [esp + 0x430]
push str._08X__08X__hs_X_r_n
push edx
call fcn.005a1299
add esp, 0x18
jmp 0x475126
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x1c]
push ecx
push 0x104
lea edx, [esp + 0x110]
push edx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call fcn.00468530
lea eax, [esp + 0x118]
add esp, 0x14
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x475077
sub eax, edx
push eax
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401590
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0xc34], 1
call fcn.0046e580
add esp, 8
cmp dword [eax + 0x18], ebp
jb 0x4750b9
mov eax, dword [eax + 4]
jmp 0x4750bc
add eax, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
lea edx, [esp + 0x434]
push str._08X__08X__04X:_08X__s_r_n
push edx
call fcn.005a1299
add esp, 0x1c
cmp dword [esp + 0x5c], ebp
jb 0x4750fc
mov eax, dword [esp + 0x48]
push eax
call fcn.0059e6bb
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0xc2c], bl
cmp dword [esp + 0x3c], ebp
jb 0x475126
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0059e6bb
add esp, 4
lea eax, [esp + 0x420]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x475130
sub eax, edx
push eax
lea edx, [esp + 0x424]
push edx
mov ecx, edi
call fcn.004295d0
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push ecx
push edx
push eax
lea ecx, [esp + 0x430]
push str.Params:__08X__08X__08X__08X_r_n
push ecx
call fcn.005a1299
lea eax, [esp + 0x438]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x475188
sub eax, edx
push eax
lea edx, [esp + 0x424]
push edx
mov ecx, edi
call fcn.004295d0
push 2
push 0x5dc43c
mov ecx, edi
call fcn.004295d0
mov eax, dword [0x620b2c]
mov ecx, dword [0x620b28]
push ebx
push eax
push ecx
push ebx
push ebx
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call esi
push eax
push 0x14c
call dword [0x620b24]
test eax, eax
jne 0x474f80
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [esp + 0x424]
push str.StackWalk_failed__error__d__r_n
push eax
call fcn.005a1299
lea eax, [esp + 0x42c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x475207
sub eax, edx
push eax
lea ecx, [esp + 0x424]
push ecx
mov ecx, edi
call fcn.004295d0
mov eax, edi
mov ecx, dword [esp + 0xc24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0c]
xor ecx, esp
call fcn.0059e619
add esp, 0xc1c
ret