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

Disassembly:
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x80]
add byte [eax], al
sub edx, ebx
mov ebx, dword [esp + 0x98]
sub edx, ecx
mov ecx, dword [esp + 0x74]
sub edx, eax
mov eax, dword [esp + 0xa8]
sub ecx, ebp
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x7c]
sub ecx, ebx
mov dword [esp + 0x8c], eax
sub ecx, edx
mov edx, dword [0x5b7c30]
mov dword [esp + 0x94], ecx
and al, 0x94
add byte [eax], al
add byte [ecx - 0x74e3dbac], cl
inc esp
and al, 0x44
mov edx, dword [esp + 0xb8]
dec eax
mov byte [esp + 0x12c], 5
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
lea ecx, [eax + 1]
imul ecx, edx
test edx, edx
mov dword [esp + 0xa0], ecx
jle 0x477123
mov dword [esp + 0x24], edi
xor edi, edi
cmp eax, edi
jl 0x4770fe
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
inc eax
push edx
lea ebp, [edi + 1]
push eax
mov eax, dword [esp + 0xc0]
push ebp
push eax
lea eax, [ecx + 1]
push eax
lea edx, [esp + 0x30]
push 0x5b6f2c
push edx
call 0x49bfc7
mov eax, dword [esp + 0x38]
add esp, 0x1c
lea ecx, [esi + 0x5c]
push eax
call 0x4a26b8
mov ecx, dword [esi + 0x78]
mov ebx, dword [0x478428]
push ecx
call ebx
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x18]
push edx
push 0x64
push eax
call dword [0x478364]
mov ecx, dword [esi + 0xb4]
push 0
push eax
push 0x402
push ecx
call dword [0x4783fc]
mov edx, dword [esi + 0xb4]
push edx
call ebx
mov eax, dword [0x5c8f00]
mov ebx, 1
cmp eax, ebx
je 0x4771b0
mov eax, dword [esp + 0x2c]
push eax
call dword [0x4780cc]
test eax, eax
jl 0x4771e7
push 0x3e8
lea ecx, [esp + 0x2c]
push 0x3e8
push ecx
call fcn.004751e0
add esp, 0xc
lea edx, [esp + 0x88]
push edx
call dword [0x478454]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x104], eax
je 0x477031
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
cmp ebx, 0x3e8
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
je 0x476f8f
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x50]
push 1
push edx
push eax
call dword [0x4780e0]
push ebx
lea ecx, [esp + 0x2c]
push ebx
push ecx
call fcn.004751e0
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x50]
push 1
push edx
push eax
call dword [0x4780e4]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
add edx, ecx
mov ebx, dword [edx]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x44]
dec edx
cmp edi, edx
jne 0x476fc8
cmp dword [esp + 0xc8], 1
jne 0x476fc8
mov edx, dword [esp + 0xfc]
test edx, edx
jg 0x476fc8
mov edx, dword [esp + 0x84]
jmp 0x476fca
xor edx, edx
sub eax, ecx
push edx
inc eax
lea edx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esi + 0xd4]
push edx
call fcn.00469cb0
cmp dword [esp + 0x20], 0x3e8
je 0x47700b
push 0x3e8
lea eax, [esp + 0x2c]
push 0x3e8
push eax
call fcn.004751e0
add esp, 0xc
mov ecx, dword [esp + 0xb4]
push ebx
lea edx, [esp + 0x8c]
add byte [eax], al
add byte [ecx - 0x75], dl
mov ss, esp
add byte [eax], al
add byte [ebp + 0x52302444], cl
push eax
call fcn.00469ac0
mov ebx, 1
mov ecx, dword [esp + 0x2c]
push ecx
call dword [0x4780bc]
test eax, eax
jl 0x4770d6
mov edi, dword [0x478620]
push 0
push 0
push 0
lea edx, [esp + 0x114]
push 0
push edx
call edi
test eax, eax
je 0x4770b2
push 0
push 0
lea eax, [esp + 0x110]
push 0
push eax
call dword [0x4784d0]
lea ecx, [esp + 0x108]
push ecx
call dword [0x4784b8]
lea edx, [esp + 0x108]
push edx
call dword [0x4784d4]
cmp dword [0x5c8f00], ebx
je 0x47720d
push 0
push 0
push 0
lea eax, [esp + 0x114]
push 0
push eax
call edi
test eax, eax
jne 0x477060
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov edi, ebp
inc edx
add ecx, 0xc
cmp edi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], ecx
jle 0x476e65
jmp 0x4770fe
push 0x5b6f20
lea ecx, [esi + 0xe0]
call 0x49e4e3
mov ecx, dword [esp + 0x2c]
push ecx
call dword [0x4780c0]
push 0xffffffffffffffff
mov ecx, esi
call 0x49f5ba
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
lea ecx, [eax + 1]
inc edx
add edi, ecx
mov ecx, dword [esp + 0xb8]
cmp edx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], edi
jl 0x476e4f
mov edx, dword [esp + 0x2c]
push edx
call dword [0x4780c0]
push 0
mov ecx, esi
call 0x49f5ba
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 4
call 0x49e35a
add al, byte [eax]
lea ecx, [esp + 0x28]
mov byte [esp + 0x12c], 3
call 0x4a4605
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47716a
push eax
call 0x49e0c4
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 0
call 0x49e35a
lea ecx, [esp + 0xa4]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00462d20
mov eax, 1
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret
mov edx, dword [esp + 0x2c]
push edx
call dword [0x4780c0]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 4
call 0x49e35a
lea ecx, [esp + 0x28]
mov byte [esp + 0x12c], 3
call 0x4a4605
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47724b
jmp 0x477242
push 0x5b6f20
lea ecx, [esi + 0xe0]
call 0x49e4e3
mov eax, dword [esp + 0x2c]
push eax
call dword [0x4780c0]
push 0xffffffffffffffff
mov ecx, esi
call 0x49f5ba
jmp 0x4771bb
mov ecx, dword [esp + 0x2c]
push ecx
call dword [0x4780c0]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 4
call 0x49e35a
add byte [ebp - 0x39d7dbb4], cl
test byte [esp + ebp], ah
add dword [eax], eax
add byte [ebx], al
call 0x4a4605
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47724b
push eax
call 0x49e0c4
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 0
call 0x49e35a
lea ecx, [esp + 0xa4]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00462d20
mov eax, ebx
jmp 0x477197