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

Disassembly:
push 0xffffffffffffffff
push 0x503809
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0xd4]
mov edi, dword [esp + 0xd0]
push edi
mov dword [esp + 0xcc], 1
call fcn.0047b5a0
lea eax, [esp + 0x58]
push eax
call fcn.004704a0
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xcc], 2
call fcn.004704a0
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0xcc], 3
call fcn.004704a0
xor ebx, ebx
lea edx, [esi + ebp]
mov byte [esp + 0xc8], 4
mov dword [esp + 0x1c], edx
cmp ebp, ebx
je 0x47c178
cmp ebp, edx
ja 0x47c178
add ebp, 4
mov eax, dword [ebp - 4]
mov dword [edi + 0x108], eax
je 0x47c116
cmp ebp, edx
ja 0x47c116
mov eax, dword [ebp]
cmp eax, ebx
mov dword [edi + 0x104], eax
jl 0x47be1b
cmp eax, esi
jg 0x47be1b
add ebp, 4
lea ecx, [eax + ebp]
mov dword [edi], ebp
mov dword [esp + 0x70], ecx
cmp ecx, ebx
je 0x47be1b
cmp ecx, edx
ja 0x47be1b
mov ecx, dword [ebp]
cmp ecx, ebx
mov dword [esp + 0x74], ecx
lea esi, [eax + ecx]
jl 0x47be1b
add ebp, 4
je 0x47be1b
cmp ebp, edx
ja 0x47be1b
mov edx, dword [ebp]
cmp edx, ebx
mov dword [esp + 0x20], edx
jl 0x47be1b
add ebp, 4
je 0x47be1b
cmp ebp, dword [esp + 0x1c]
ja 0x47be1b
mov eax, dword [ebp]
lea ebx, [eax + edx]
add esi, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
test eax, eax
jl 0x47be1b
add ebp, 4
mov dword [esp + 0x78], 0
test ecx, ecx
jle 0x47bc3c
lea esp, [esp]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x88]
push ecx
call fcn.004704a0
mov byte [esp + 0xc8], 5
test ebp, ebp
je 0x47be0f
cmp ebp, esi
ja 0x47be0f
movsx eax, word [ebp]
cmp eax, 0xffffffff
mov dword [esp + 0x84], eax
jle 0x47be0f
cmp eax, 0x46
jge 0x47be0f
add ebp, 2
je 0x47be0f
cmp ebp, esi
ja 0x47be0f
movsx esi, word [ebp]
lea edx, [esi + eax]
add dword [esp + 0x18], edx
test esi, esi
jl 0x47be0f
add ebp, 2
mov dword [esp + 0x80], 0
test esi, esi
jle 0x47bb79
test ebp, ebp
je 0x47be0f
cmp ebp, dword [esp + 0x1c]
ja 0x47be0f
movsx eax, word [ebp]
add dword [esp + 0x18], eax
mov dword [esp + 0x7c], eax
cmp eax, 0xb
ja 0x47be0f
lea ebx, [esp + 0x7c]
lea edi, [esp + 0x88]
add ebp, 2
call fcn.0047c740
mov eax, dword [esp + 0x80]
inc eax
cmp eax, esi
mov dword [esp + 0x80], eax
jl 0x47bb2c
test ebp, ebp
je 0x47be0f
mov eax, dword [esp + 0x1c]
cmp ebp, eax
ja 0x47be0f
add ebp, 4
mov esi, dword [ebp - 4]
mov dword [esp + 0xa0], esi
je 0x47be0f
cmp ebp, eax
ja 0x47be0f
add ebp, 4
mov edx, dword [ebp - 4]
mov dword [esp + 0xa4], edx
je 0x47be0f
cmp ebp, eax
ja 0x47be0f
add ebp, 4
mov ecx, dword [ebp - 4]
mov dword [esp + 0xa8], ecx
je 0x47be0f
cmp ebp, eax
ja 0x47be0f
mov eax, dword [ebp]
mov dword [esp + 0xac], eax
add eax, ecx
add eax, edx
add eax, esi
add dword [esp + 0x18], eax
lea eax, [esp + 0x84]
push eax
lea edi, [esp + 0x5c]
add ebp, 4
call fcn.0047ca70
lea esi, [esp + 0x84]
mov byte [esp + 0xc8], 4
call fcn.0047c2a0
mov eax, dword [esp + 0x78]
inc eax
cmp eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
jl 0x47bab0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0xd0]
xor esi, esi
test edx, edx
jle 0x47bce8
test ebp, ebp
je 0x47be1b
mov eax, dword [esp + 0x1c]
cmp ebp, eax
ja 0x47be1b
add ebp, 4
mov edi, dword [ebp - 4]
mov dword [esp + 0xb0], edi
je 0x47be1b
cmp ebp, eax
ja 0x47be1b
add ebp, 4
mov edx, dword [ebp - 4]
mov dword [esp + 0xb4], edx
je 0x47be1b
cmp ebp, eax
ja 0x47be1b
add ebp, 4
mov ecx, dword [ebp - 4]
mov dword [esp + 0xb8], ecx
je 0x47be1b
cmp ebp, eax
ja 0x47be1b
mov eax, dword [ebp]
mov dword [esp + 0xbc], eax
add eax, ecx
add eax, edx
add eax, edi
add dword [esp + 0x18], eax
lea ebx, [esp + 0xb0]
lea edi, [esp + 0x28]
add ebp, 4
call fcn.0047cd40
inc esi
cmp esi, dword [esp + 0x20]
jl 0x47bc46
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0xd0]
xor esi, esi
test eax, eax
jle 0x47bd29
test ebp, ebp
je 0x47be1b
cmp ebp, dword [esp + 0x1c]
ja 0x47be1b
mov eax, dword [ebp]
add dword [esp + 0x18], eax
lea ebx, [esp + 0x74]
lea edi, [esp + 0x40]
mov dword [esp + 0x74], eax
add ebp, 4
call fcn.0047cef0
inc esi
cmp esi, dword [esp + 0x24]
jl 0x47bcee
mov edi, dword [esp + 0xd0]
cmp dword [esp + 0x70], ebp
jne 0x47be1b
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x88], esp
push ecx
lea ecx, [esp + 0x10c]
call fcn.004703b0
sub esp, 0x18
mov byte [esp + 0xf8], 6
mov edx, esp
mov dword [esp + 0xa4], esp
push edx
lea ecx, [esp + 0x10c]
call fcn.004703b0
sub esp, 0x18
mov byte [esp + 0x110], 7
mov eax, esp
mov dword [esp + 0xc4], esp
push eax
lea ecx, [esp + 0x8c]
call fcn.004703b0
sub esp, 0x18
mov ecx, esp
mov byte [esp + 0x128], 8
mov dword [esp + 0x80], esp
push ecx
lea ecx, [esp + 0x8c]
call fcn.0047cb50
sub esp, 0x18
mov edx, esp
mov dword [esp + 0xf0], esp
push edx
lea ecx, [esp + 0xd4]
mov byte [esp + 0x144], 9
call fcn.0047c7b0
push edi
mov byte [esp + 0x144], 4
call fcn.0047a910
test al, al
je 0x47be1b
mov dword [edi + 4], ebp
test ebp, ebp
je 0x47c104
cmp ebp, dword [esp + 0x1c]
ja 0x47c104
cmp dword [ebp + 4], 0x1335495
je 0x47be53
push str.format_is_erro
call fcn.004cccdc
add esp, 4
jmp 0x47be1b
lea esi, [esp + 0x84]
call fcn.0047c2a0
lea esi, [esp + 0x40]
call fcn.0045d830
lea esi, [esp + 0x28]
call fcn.0045d830
lea esi, [esp + 0x58]
call fcn.0047c8c0
lea esi, [esp + 0xd8]
call fcn.0045d830
lea esi, [esp + 0xf0]
call fcn.0045d830
jmp 0x47c27b
mov eax, dword [ebp]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax + 0x1335495]
mov eax, dword [ebp + 8]
test eax, eax
jg 0x47be77
push str.totalsize_is_erro
call fcn.004cccdc
add esp, 4
jmp 0x47be1b
mov ecx, dword [ebp + 0xc]
add edx, eax
test ecx, ecx
jl 0x47c0f2
mov esi, dword [ebp + 0x10]
test esi, esi
jl 0x47c0f2
mov eax, dword [ebp + 0x14]
test eax, eax
jl 0x47c0f2
add eax, esi
add eax, ecx
lea esi, [eax + eax*2 + 6]
add esi, esi
add esi, esi
cmp esi, dword [edi + 0x100]
je 0x47bec0
push str.head_size_is_erro
call fcn.004cccdc
add esp, 4
jmp 0x47be1b
add edx, eax
lea esi, [ebp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x47bf2a
test esi, esi
je 0x47be1b
cmp esi, dword [esp + 0x1c]
ja 0x47be1b
mov edi, dword [esp + 0xd0]
add edi, 0x58
lea ebx, [esp + 0x24]
call fcn.0046fbc0
mov edx, dword [esi + 8]
add edx, dword [esi + 4]
mov eax, dword [esp + 0x20]
add edx, dword [esi]
inc eax
add dword [esp + 0x18], edx
add esi, 0xc
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jl 0x47bed9
mov edi, dword [esp + 0xd0]
mov edx, dword [esp + 0x18]
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x20], 0
jle 0x47bf8a
test esi, esi
je 0x47be1b
cmp esi, dword [esp + 0x1c]
ja 0x47be1b
mov edi, dword [esp + 0xd0]
add edi, 0x70
lea ebx, [esp + 0x24]
call fcn.0046fbc0
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
add esi, 0xc
add eax, dword [esi - 0xc]
mov dword [esp + 0x24], esi
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
jl 0x47bf38
mov edi, dword [esp + 0xd0]
mov edx, dword [esp + 0x18]
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x20], 0
jle 0x47bfec
test esi, esi
je 0x47be1b
cmp esi, dword [esp + 0x1c]
ja 0x47be1b
mov edi, dword [esp + 0xd0]
add edi, 0x88
lea ebx, [esp + 0x24]
call fcn.0046fbc0
mov ecx, dword [esi + 8]
add ecx, dword [esi + 4]
mov eax, dword [esp + 0x20]
add ecx, dword [esi]
inc eax
add dword [esp + 0x18], ecx
add esi, 0xc
cmp eax, dword [ebp + 0x14]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jl 0x47bf98
mov edi, dword [esp + 0xd0]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x100]
mov ecx, dword [edi + 4]
add ecx, eax
cmp esi, ecx
jne 0x47be1b
not edx
cmp edx, dword [edi + 0x108]
jne 0x47be1b
add eax, ebp
mov dword [edi + 8], eax
je 0x47c0e0
cmp eax, dword [esp + 0x1c]
ja 0x47c0e0
mov edx, dword [ebp + 8]
add edx, eax
mov dword [edi + 0xc], edx
mov ecx, dword [edi + 0x20]
sub ecx, dword [edi + 0x1c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
xor ebp, ebp
add eax, edx
je 0x47c0a6
mov esi, dword [esp + 0xd0]
push ebp
call fcn.0047c5e0
test eax, eax
jl 0x47be1b
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [esp + 0x70], ecx
je 0x47be1b
cmp ecx, dword [esp + 0x1c]
ja 0x47be1b
lea edi, [esi + 0xd0]
lea ebx, [esp + 0x70]
call fcn.0046fbc0
push ebp
mov eax, esi
call fcn.0047c2d0
mov ecx, dword [esi + 0x20]
sub ecx, dword [esi + 0x1c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
inc ebp
add ecx, edx
cmp ebp, ecx
jb 0x47c04c
lea esi, [esp + 0x40]
call fcn.0045d830
lea esi, [esp + 0x28]
call fcn.0045d830
lea esi, [esp + 0x58]
call fcn.0047c8c0
lea esi, [esp + 0xd8]
call fcn.0045d830
lea esi, [esp + 0xf0]
call fcn.0045d830
mov al, 1
jmp 0x47c27d
push str.body_is_null
call fcn.004cccdc
add esp, 4
jmp 0x47be1b
push str.keynum_or_attrinum_or_datanum_is__
call fcn.004cccdc
add esp, 4
jmp 0x47be1b
push str.head_is_null
call fcn.004cccdc
add esp, 4
jmp 0x47be1b
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x47c127
push eax
call fcn.004c55cd
add esp, 4
mov edx, dword [esp + 0x40]
push edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.004c55cd
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebx
je 0x47c151
push eax
call fcn.004c55cd
add esp, 4
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.004c55cd
add esp, 4
lea esi, [esp + 0x58]
call fcn.0047c8c0
jmp 0x47c209
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x47c189
push eax
call fcn.004c55cd
add esp, 4
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.004c55cd
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebx
je 0x47c1b3
push eax
call fcn.004c55cd
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.004c55cd
mov eax, dword [esp + 0x68]
add esp, 4
cmp eax, ebx
je 0x47c1f0
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
push edx
push ecx
call fcn.0047ec40
mov edx, dword [esp + 0x6c]
push edx
call fcn.004c55cd
add esp, 0xc
mov eax, dword [esp + 0x58]
push eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.004c55cd
add esp, 4
mov eax, dword [esp + 0xe4]
cmp eax, ebx
je 0x47c21d
push eax
call fcn.004c55cd
add esp, 4
mov ecx, dword [esp + 0xd8]
push ecx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
call fcn.004c55cd
mov eax, dword [esp + 0x100]
add esp, 4
cmp eax, ebx
je 0x47c256
push eax
call fcn.004c55cd
add esp, 4
mov edx, dword [esp + 0xf0]
push edx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
call fcn.004c55cd
add esp, 4
xor al, al
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x38