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

Disassembly:
push 0xffffffffffffffff
push 0x5635fb
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63d20c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, 0xd
push 0x28
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x80]
mov dword [esp + 0x70], 0
test eax, eax
je 0x4f5242
mov ecx, dword [esp + 0x78]
push esi
push ecx
mov ecx, eax
call fcn.004f0700
mov ebp, eax
jmp 0x4f5244
xor ebp, ebp
mov ecx, dword [esi + 8]
push 0
lea edx, [esp + 0x1c]
push edx
push str.NeedAppearances
mov dword [esp + 0x7c], 0xffffffff
call fcn.0047c300
cmp dword [eax], 0
jne 0x4f526c
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.0047c660
mov ebx, dword [esp + 0x7c]
push ebx
mov ecx, ebp
call fcn.004f07d0
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 8]
push str.Fields
call fcn.0047c300
cmp dword [eax], 6
je 0x4f52e0
cmp dword [esp + 0x18], 5
je 0x4f52b2
push str.AcroForm_Fields_entry_is_wrong_type
push 0xffffffffffffffff
push 1
call fcn.00489570
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.0047c660
test ebp, ebp
je 0x4f52ca
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov ecx, dword [esp + 0x20]
xor esi, esi
cmp dword [ecx + 0xc], esi
jle 0x4f531a
jmp 0x4f52f0
lea edx, [esp + 0x58]
push edx
push esi
call fcn.0047c040
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call fcn.004f2fc0
lea ecx, [esp + 0x58]
call fcn.0047c660
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, dword [ecx + 0xc]
jl 0x4f52f0
lea ecx, [esp + 0x18]
call fcn.0047c660
mov esi, 1
cmp dword [ebx + 0x14], esi
mov dword [esp + 0x14], esi
jl 0x4f5491
push esi
mov ecx, ebx
call fcn.0047dde0
mov edx, dword [eax + 4]
push 0
lea ecx, [esp + 0x4c]
push ecx
push edx
lea ecx, [eax + 0x10]
call fcn.0047c610
cmp dword [eax], 6
jne 0x4f547a
mov ecx, dword [esp + 0x50]
xor edi, edi
cmp dword [ecx + 0xc], edi
mov dword [esp + 0x80], edi
jle 0x4f547a
nop
lea eax, [esp + 0x28]
push eax
push edi
call fcn.0047c040
cmp dword [eax], 9
jne 0x4f5458
mov eax, dword [ebp + 0x20]
mov esi, dword [eax + 8]
xor ecx, ecx
test esi, esi
jle 0x4f53c9
mov edx, dword [eax]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
lea ebx, [ebx]
mov eax, dword [edx]
cmp dword [eax + 8], 9
jne 0x4f53b2
cmp dword [eax + 0x10], ebx
jne 0x4f53b2
cmp dword [eax + 0x14], edi
je 0x4f53be
mov eax, dword [ebp + 0x20]
inc ecx
add edx, 4
cmp ecx, dword [eax + 8]
jl 0x4f53a0
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
cmp ecx, esi
jne 0x4f5458
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0x20]
push 0
lea ecx, [esp + 0x3c]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.0047c610
cmp dword [esp + 0x38], 7
jne 0x4f544f
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x48]
push str.Subtype
call fcn.0047c300
cmp dword [eax], 4
jne 0x4f5446
mov eax, dword [eax + 8]
mov ecx, str.Widget
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4f5431
test dl, dl
je 0x4f542d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4f5431
add eax, 2
add ecx, 2
test dl, dl
jne 0x4f5411
xor eax, eax
jmp 0x4f5436
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4f5446
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
call fcn.004f2fc0
lea ecx, [esp + 0x18]
call fcn.0047c660
lea ecx, [esp + 0x38]
call fcn.0047c660
lea ecx, [esp + 0x28]
call fcn.0047c660
mov ecx, dword [esp + 0x50]
inc edi
cmp edi, dword [ecx + 0xc]
mov dword [esp + 0x80], edi
jl 0x4f5370
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x48]
call fcn.0047c660
inc esi
cmp esi, dword [ebx + 0x14]
mov dword [esp + 0x14], esi
jle 0x4f5335
mov eax, ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret