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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dc240
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x68]
push ebp
xor ebp, ebp
push esi
push edi
cmp ebx, ebp
je 0x47cac6
cmp word [ebx], bp
je 0x47cac6
cmp byte [esp + 0x7c], 0
jne 0x47c63f
mov eax, dword [esp + 0x70]
cmp eax, ebp
je 0x47cac6
cmp word [eax], bp
je 0x47cac6
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov edi, dword [esp + 0x64]
lea esi, [esp + 0x2c]
mov byte [esp + 0x5c], 1
call fcn.00414130
cmp byte [esp + 0x6c], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov byte [esp + 0x48], 0
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x38], ebx
je 0x47c6c2
lea eax, [esp + 0x38]
push eax
push ebp
push 0x50c66c
call fcn.004a4b10
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x3c]
add esp, 4
push eax
push ecx
push ebx
push 4
push 0
push 0
push 0
call fcn.00478d30
jmp 0x47c6ee
lea edx, [esp + 0x38]
push edx
push ebp
push 0x50c66c
call fcn.004a4b10
mov ecx, dword [esp + 0x3c]
add esp, 4
push eax
mov eax, dword [esp + 0x74]
push eax
push ecx
push 4
push ebp
push ebp
push ebp
call fcn.004795d0
mov ebx, dword [esp + 0x54]
add esp, 0x24
test al, al
je 0x47caa9
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x47caa9
cmp byte [esp + 0x7c], 0
je 0x47c819
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
add edi, 2
call fcn.00414050
test eax, eax
jne 0x47c74b
lea ecx, [esp + 0x20]
call fcn.00413fb0
lea ecx, [esp + 0x2c]
call fcn.00413fb0
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov edi, esi
mov ecx, edi
call fcn.00414030
jmp 0x47c75a
mov ebp, dword [esp + 0x14]
push 0
push 0
push 0x50c66c
call fcn.004a4b10
mov edx, dword [esp + 0x74]
add esp, 4
cmp byte [esp + 0x74], 0
push eax
push edx
push ebx
push 1
push ebp
lea eax, [esp + 0x30]
lea ecx, [esp + 0x3c]
push eax
push ecx
je 0x47c78d
call fcn.00478d30
jmp 0x47c792
call fcn.004795d0
mov esi, dword [esp + 0x48]
mov byte [esp + 0x36], al
mov eax, dword [esp + 0x98]
add esp, 0x24
mov ecx, esi
call fcn.004ac420
cmp esi, eax
jne 0x47c7bf
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 1
je 0x47c756
jmp 0x47c7d1
cmp dword [esp + 0x18], 1
jne 0x47c7d1
lea eax, [esp + 0x20]
mov ecx, edi
call fcn.004144e0
cmp byte [esp + 0x12], 0
jne 0x47c756
mov eax, edi
call fcn.00414e80
xor edx, edx
cmp byte [esp + 0x6c], dl
mov esi, eax
setne dl
lea ecx, [esp + 0x20]
inc edx
imul esi, edx
call fcn.00413fb0
lea ecx, [esp + 0x2c]
call fcn.00413fb0
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ebp, dword [esp + 0x70]
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c822
mov esi, dword [esp + 0x40]
sub eax, edx
sar eax, 1
sub eax, edi
lea ebx, [eax + esi + 1]
cmp byte [esp + 0x78], cl
je 0x47c877
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c846
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [esp + 0x74]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c860
sub eax, edx
sar eax, 1
add eax, eax
sub ebx, eax
sub ebx, edi
add ebx, esi
mov esi, dword [esp + 0x64]
xor ecx, ecx
xor ebp, ebp
cmp byte [esp + 0x6c], cl
setne cl
lea edi, [ecx + 1]
imul edi, ebx
mov dword [esp + 0x1c], edi
call fcn.00414050
mov esi, eax
test esi, esi
je 0x47c724
mov byte [esp + 0x12], 0
push 0
push 0
push 0x50c66c
call fcn.004a4b10
add esp, 4
cmp byte [esp + 0x74], 0
push eax
je 0x47c8df
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push edx
push eax
push 1
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.00478d30
jmp 0x47c8ff
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
push ecx
push edx
push 1
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004795d0
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x37], al
add esp, 0x24
mov eax, edi
call fcn.004ac420
cmp dword [esp + 0x24], eax
jne 0x47c964
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 2
je 0x47ca3b
cmp byte [esp + 0x78], 0
jne 0x47c964
push 0x50c66c
call fcn.004a4b10
add esp, 4
cmp byte [esp + 0x6c], 0
push ebp
push ebx
push edi
push esi
je 0x47c958
mov edx, eax
call fcn.00478910
jmp 0x47c95f
mov ecx, eax
call fcn.00478b20
mov ebp, eax
add esp, 0x10
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x47ca0d
cmp byte [esp + 0x12], 0
jne 0x47ca75
push 0x50c66c
mov byte [esp + 0x16], al
call fcn.004a4b10
add esp, 4
cmp byte [esp + 0x6c], 0
push ebp
push ebx
push 0x4ec724
push esi
je 0x47c9a5
mov edx, eax
call fcn.00478910
jmp 0x47c9ac
mov ecx, eax
call fcn.00478b20
add esp, 0x10
push 0x50c66c
mov ebp, eax
call fcn.004a4b10
add esp, 4
cmp byte [esp + 0x6c], 0
push ebp
push ebx
je 0x47c9d6
mov ecx, dword [esp + 0x78]
push ecx
push esi
mov edx, eax
call fcn.00478910
jmp 0x47c9e3
mov edx, dword [esp + 0x78]
push edx
push esi
mov ecx, eax
call fcn.00478b20
add esp, 0x10
push 0x50c66c
mov ebp, eax
call fcn.004a4b10
add esp, 4
cmp byte [esp + 0x6c], 0
push ebp
push ebx
push 0x4ec724
push esi
je 0x47ca69
mov edx, eax
call fcn.00478910
jmp 0x47ca70
test eax, eax
je 0x47ca16
cmp eax, 2
jne 0x47ca75
push 0x50c66c
call fcn.004a4b10
add esp, 4
cmp byte [esp + 0x6c], 0
push ebp
push ebx
je 0x47ca63
mov ecx, dword [esp + 0x2c]
push ecx
push esi
mov edx, eax
call fcn.00478910
jmp 0x47ca70
cmp byte [esp + 0x78], 0
jne 0x47ca75
push 0x50c66c
call fcn.004a4b10
add esp, 4
cmp byte [esp + 0x6c], 0
push ebp
push ebx
push edi
push esi
je 0x47c9dc
mov edx, eax
call fcn.00478910
jmp 0x47c9e3
mov edx, dword [esp + 0x2c]
push edx
push esi
mov ecx, eax
call fcn.00478b20
mov ebp, eax
add esp, 0x10
cmp byte [esp + 0x13], 0
jne 0x47c8a4
lea ecx, [esp + 0x20]
call fcn.00413fb0
lea ecx, [esp + 0x2c]
call fcn.00413fb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
test ebx, ebx
je 0x47cac6
mov eax, dword [esp + 0x2c]
push eax
push 0
push ebx
call fcn.004d2f90
add esp, 0xc
push ebx
call fcn.004ca991
add esp, 4
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret