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

Disassembly:
sub esp, 0x2c
mov eax, 1
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x40], 0
je 0x47d4e9
cmp byte [esi + 0x25], 0
je 0x47d4e9
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x3c]
mov ebx, dword [esi + 0x78]
xor edx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
jmp 0x47d306
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x38]
mov ebp, dword [ecx]
mov dword [esp + 0x1c], eax
cmp eax, ebp
jne 0x47d33f
mov dword [esp + 0x1c], eax
test edx, edx
jne 0x47d33f
mov dword [ecx], edx
mov dword [esi + 0x38], edx
mov edx, dword [esp + 0x40]
push ecx
push dword [esi + 0x2c]
push dword [esi + 0x40]
mov eax, dword [edx]
push edx
call dword [eax + 0xc]
mov ebp, dword [esi + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
sub ecx, ebx
add ebx, dword [esi + 0x28]
cmp ecx, dword [esi + 0x28]
mov dword [esp + 0x28], eax
cmovbe ebx, dword [esi + 0x74]
xor edx, edx
sub ebx, eax
cmp byte [esi + 0x26], dl
je 0x47d383
mov ecx, dword [esi + 0x48]
sub ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x5c]
xor edi, edi
cmp edi, eax
jb 0x47d383
ja 0x47d376
cmp ebx, ecx
jb 0x47d383
cmp byte [esi + 0x24], dl
mov eax, 1
mov ebx, ecx
cmovne edx, eax
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x24]
sub ebp, dword [esp + 0x1c]
lea ecx, [esi + 0x60]
push eax
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ebp
push eax
mov eax, dword [esi + 0x40]
lea edx, [ebx + edi]
add eax, dword [esp + 0x28]
push eax
call fcn.0048f850
mov ecx, dword [esi + 0x78]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
add dword [esi + 0x38], eax
add dword [esi + 0x50], eax
mov eax, 0
mov dword [esi + 0x34], ebp
adc dword [esi + 0x54], 0
sub ecx, edi
lea edi, [esi + 0x58]
mov edx, ecx
add edx, dword [edi]
mov dword [edi], edx
adc eax, dword [edi + 4]
cmp byte [esi + 0x26], 0
mov dword [edi + 4], eax
je 0x47d3f5
cmp eax, dword [esi + 0x4c]
jb 0x47d3f5
ja 0x47d3f1
cmp edx, dword [esi + 0x48]
jb 0x47d3f5
mov al, 1
jmp 0x47d3f7
xor al, al
cmp dword [esp + 0x1c], 0
mov byte [esp + 0x12], al
jne 0x47d42a
cmp dword [esp + 0x20], 0
jne 0x47d40d
test ecx, ecx
je 0x47d42a
cmp ebp, 1
je 0x47d42a
test al, al
je 0x47d41b
cmp ebp, 3
jne 0x47d42a
mov byte [esp + 0x13], 0
cmp ecx, ebx
jb 0x47d46b
mov bl, byte [esp + 0x13]
jmp 0x47d42c
mov bl, 1
mov ecx, dword [esi + 0x78]
sub ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x70]
add edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.00411cd0
mov ecx, eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x74]
jne 0x47d45f
xor eax, eax
mov dword [esi + 0x78], 0
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x47d518
test bl, bl
jne 0x47d4b9
mov edx, dword [esp + 0x48]
lea ecx, [esi + 0x3c]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x47d302
mov ecx, dword [esi + 0x50]
sub ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x54]
sbb eax, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x34]
push edi
mov dword [esp + 0x3c], eax
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0xc]
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x3c]
test eax, eax
je 0x47d306
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
cmp dword [esp + 0x1c], 0
jne 0x47d4e4
mov eax, dword [esp + 0x24]
cmp eax, 1
jne 0x47d4f3
cmp byte [esi + 0x24], 0
je 0x47d50a
cmp byte [esi + 0x26], 0
je 0x47d50a
mov eax, dword [esi + 0x48]
cmp eax, dword [edi]
jne 0x47d4e4
mov eax, dword [esi + 0x4c]
cmp eax, dword [edi + 4]
je 0x47d50a
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
cmp byte [esp + 0x12], 0
je 0x47d4e4
cmp eax, 3
je 0x47d4e4
cmp byte [esi + 0x24], 0
je 0x47d50a
cmp eax, 4
jne 0x47d4e4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x2c
ret 0xc