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

Disassembly:
push 0xffffffffffffffff
push 0x529c97
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59c6b8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, 0xd
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0x20]
mov ecx, dword [esp + 0x6c]
xor esi, esi
push esi
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.0044ea00
mov ecx, dword [esp + 0x40]
push esi
lea eax, [esp + 0x1c]
push eax
push 0x5314cc
call fcn.00412200
cmp dword [eax], 3
push 0xc
jne 0x402515
call fcn.00511699
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], esi
cmp eax, esi
je 0x402536
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00474250
jmp 0x402538
call fcn.00511699
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 1
cmp eax, esi
je 0x402536
mov ecx, eax
call fcn.00473f20
jmp 0x402538
xor eax, eax
lea ecx, [esp + 0x18]
mov ebp, eax
mov dword [esp + 0x60], 0xffffffff
call fcn.0044ea50
mov ecx, dword [esp + 0x40]
push esi
lea edx, [esp + 0x1c]
push edx
push 0x5314c8
call fcn.00412200
cmp dword [eax], 4
jne 0x4025a4
push 8
call fcn.00511699
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 2
cmp eax, esi
je 0x402596
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.004a1c90
mov dword [esp + 0x60], 0xffffffff
mov edi, eax
jmp 0x4025a6
xor eax, eax
mov dword [esp + 0x60], 0xffffffff
mov edi, eax
jmp 0x4025a6
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.0044ea50
mov ecx, dword [esp + 0x40]
push esi
lea edx, [esp + 0x1c]
push edx
push 0x5314c4
call fcn.00412200
cmp dword [eax], 1
jne 0x4025d3
mov ebx, dword [esp + 0x20]
mov esi, 1
jmp 0x4025d5
xor ebx, ebx
lea ecx, [esp + 0x18]
call fcn.0044ea50
mov ecx, dword [esp + 0x40]
push 0
lea eax, [esp + 0x2c]
push eax
push str.Parent
call fcn.00412200
cmp dword [esp + 0x28], 7
jne 0x402710
mov ecx, dword [esp + 0x30]
push 0
lea edx, [esp + 0x1c]
push edx
push 0x5314cc
call fcn.00412200
cmp dword [eax], 3
jne 0x402637
cmp dword [ebp + 4], 0
je 0x402629
push 0x2e
push 0
mov ecx, ebp
call fcn.004740e0
mov eax, dword [esp + 0x20]
push eax
push 0
mov ecx, ebp
call fcn.00474130
lea ecx, [esp + 0x18]
call fcn.0044ea50
test edi, edi
jne 0x40269a
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
push 0x5314c8
call fcn.00412200
cmp dword [eax], 4
jne 0x402691
push 8
call fcn.00511699
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 3
test eax, eax
je 0x402685
mov edx, dword [esp + 0x20]
push edx
mov ecx, eax
call fcn.004a1c90
jmp 0x402687
xor eax, eax
mov dword [esp + 0x60], 0xffffffff
mov edi, eax
lea ecx, [esp + 0x18]
call fcn.0044ea50
test esi, esi
jne 0x4026c9
mov ecx, dword [esp + 0x30]
push esi
lea eax, [esp + 0x1c]
push eax
push 0x5314c4
call fcn.00412200
cmp dword [eax], 1
jne 0x4026c0
mov ebx, dword [esp + 0x20]
mov esi, 1
lea ecx, [esp + 0x18]
call fcn.0044ea50
push 0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x38]
push str.Parent
call fcn.00412200
lea ecx, [esp + 0x28]
call fcn.0044ea50
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
cmp eax, 7
je 0x402602
lea ecx, [esp + 0x28]
call fcn.0044ea50
test edi, edi
jne 0x402735
push str.Missing_type_in_AcroForm_field
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
call fcn.00412330
add esp, 0x10
jmp 0x402850
push 0x5314a0
mov ecx, edi
call fcn.004a2340
test eax, eax
jne 0x402762
test ebx, 0x10000
je 0x402751
xor esi, esi
jmp 0x4027c0
mov esi, ebx
and esi, 0x8000
neg esi
sbb esi, esi
add esi, 2
jmp 0x4027c0
push 0x53149c
mov ecx, edi
call fcn.004a2340
test eax, eax
jne 0x40278e
test ebx, 0x100000
je 0x40277f
lea esi, [eax + 3]
jmp 0x4027c0
mov esi, ebx
shr esi, 0xc
not esi
and esi, 1
or esi, 4
jmp 0x4027c0
push 0x531498
mov ecx, edi
call fcn.004a2340
test eax, eax
jne 0x4027ad
mov esi, ebx
shr esi, 0x11
not esi
and esi, 1
or esi, 6
jmp 0x4027c0
push 0x531494
mov ecx, edi
call fcn.004a2340
test eax, eax
jne 0x40282d
lea esi, [eax + 8]
mov ecx, edi
call fcn.004a1da0
push edi
call fcn.0051163f
push 0x38
call fcn.00511699
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 4
test eax, eax
je 0x402804
mov edx, dword [esp + 0x6c]
push ebx
push ebp
push esi
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push ecx
mov ecx, eax
call fcn.00401310
mov esi, eax
jmp 0x402806
xor esi, esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
call fcn.0044ea50
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push str.Invalid_type_in_AcroForm_field
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
call fcn.00412330
add esp, 0x10
mov ecx, edi
call fcn.004a1da0
push edi
call fcn.0051163f
add esp, 4
test ebp, ebp
je 0x402864
mov ecx, ebp
call fcn.00473f80
push ebp
call fcn.0051163f
add esp, 4
lea ecx, [esp + 0x38]
call fcn.0044ea50
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret