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

Disassembly:
sub esp, 0x120
lea eax, [esp + 0x20]
push str.FoolFilesFdaEditDataEditHeaderList.fda
mov dword [esp + 0x10], ecx
push eax
call fcn.00404300
lea ecx, [esp + 0x28]
push ecx
call fcn.0041e2a0
add esp, 0xc
cmp word [eax + 6], 0x23
mov dword [esp + 0x10], eax
je 0x41636a
xor eax, eax
add esp, 0x120
ret
mov edx, dword [eax + 8]
push ebx
push ebp
push esi
push edi
push 0
push 0xd4
mov dword [esp + 0x2c], edx
call fcn.00401000
mov ebp, dword [esp + 0x28]
mov ebx, eax
add esp, 8
mov ecx, 0x35
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x30]
push str.FoolFilesFmhEditHeader_
push eax
call fcn.00404300
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x38]
push 1
mov edi, dword [eax + ecx*4]
or ecx, 0xffffffff
xor eax, eax
push 0x592d14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x40]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.00401040
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4167db
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.0041f430
push esi
push 1
lea eax, [esp + 0x34]
push 4
push eax
call fcn.00401060
push esi
push 1
lea ecx, [esp + 0x40]
push 4
push ecx
call fcn.00401060
add esp, 0x20
mov ecx, edi
call fcn.0041f430
mov eax, dword [esp + 0x18]
cmp eax, 0x22
ja case.default.0x41643a
jmp dword [eax*4 + 0x416808]
lea edx, [ebx + 0x48]
mov ebp, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x304
jmp case.default.0x41643a
lea eax, [ebx + 0x4c]
lea ebp, [ebx + 2]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x114
jmp case.default.0x41643a
lea ecx, [ebx + 0x50]
lea ebp, [ebx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x114
jmp case.default.0x41643a
lea edx, [ebx + 0x54]
lea ebp, [ebx + 6]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x418
jmp case.default.0x41643a
lea eax, [ebx + 0x58]
lea ebp, [ebx + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x418
jmp case.default.0x41643a
lea ecx, [ebx + 0x5c]
lea ebp, [ebx + 0xa]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x418
jmp case.default.0x41643a
lea edx, [ebx + 0x60]
lea ebp, [ebx + 0xc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x418
jmp case.default.0x41643a
lea eax, [ebx + 0x64]
lea ebp, [ebx + 0xe]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x114
jmp case.default.0x41643a
lea ecx, [ebx + 0x68]
lea ebp, [ebx + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x418
jmp case.default.0x41643a
lea edx, [ebx + 0x6c]
lea ebp, [ebx + 0x12]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x114
jmp case.default.0x41643a
lea eax, [ebx + 0x70]
lea ebp, [ebx + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x418
jmp case.default.0x41643a
lea ecx, [ebx + 0x74]
lea ebp, [ebx + 0x16]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x418
jmp case.default.0x41643a
lea edx, [ebx + 0x78]
lea ebp, [ebx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x418
jmp case.default.0x41643a
lea eax, [ebx + 0x7c]
lea ebp, [ebx + 0x1a]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x52c
jmp case.default.0x41643a
lea ecx, [ebx + 0x80]
lea ebp, [ebx + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x114
jmp case.default.0x41643a
lea edx, [ebx + 0x84]
lea ebp, [ebx + 0x1e]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x114
jmp case.default.0x41643a
lea eax, [ebx + 0x88]
lea ebp, [ebx + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0xff0
jmp case.default.0x41643a
lea ecx, [ebx + 0x8c]
lea ebp, [ebx + 0x22]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x3e0
jmp case.default.0x41643a
lea edx, [ebx + 0x90]
lea ebp, [ebx + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x3e0
jmp case.default.0x41643a
lea eax, [ebx + 0x94]
lea ebp, [ebx + 0x26]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0xba0
jmp case.default.0x41643a
lea ecx, [ebx + 0x98]
lea ebp, [ebx + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0xba0
jmp case.default.0x41643a
lea edx, [ebx + 0x9c]
lea ebp, [ebx + 0x2a]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0xba0
jmp case.default.0x41643a
lea eax, [ebx + 0xa0]
lea ebp, [ebx + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0xba0
jmp case.default.0x41643a
lea ecx, [ebx + 0xa4]
lea ebp, [ebx + 0x2e]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x9b0
jmp case.default.0x41643a
lea edx, [ebx + 0xa8]
lea ebp, [ebx + 0x30]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x9b0
jmp case.default.0x41643a
lea eax, [ebx + 0xac]
lea ebp, [ebx + 0x32]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x9b0
jmp case.default.0x41643a
lea ecx, [ebx + 0xb0]
lea ebp, [ebx + 0x34]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x9b0
jmp case.default.0x41643a
lea edx, [ebx + 0xb4]
lea ebp, [ebx + 0x36]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x304
jmp case.default.0x41643a
lea ebp, [ebx + 0x38]
lea eax, [ebx + 0xb8]
jmp 0x416743
lea ecx, [ebx + 0xbc]
lea ebp, [ebx + 0x3a]
mov dword [esp + 0x14], ecx
jmp 0x416747
lea edx, [ebx + 0xc0]
lea ebp, [ebx + 0x3c]
mov dword [esp + 0x14], edx
jmp 0x416747
lea ebp, [ebx + 0x3e]
lea eax, [ebx + 0xc4]
jmp 0x416743
lea ecx, [ebx + 0xc8]
lea ebp, [ebx + 0x40]
mov dword [esp + 0x14], ecx
jmp 0x416747
lea edx, [ebx + 0xcc]
lea ebp, [ebx + 0x42]
mov dword [esp + 0x14], edx
jmp 0x416747
lea ebp, [ebx + 0x44]
lea eax, [ebx + 0xd0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1f0
push esi
push 1
push 2
push ebp
call fcn.00401060
add esp, 0x10
mov ecx, edi
call fcn.0041f430
mov ax, word [ebp]
test ax, ax
je 0x4167cb
and eax, 0xffff
push 0
imul eax, dword [esp + 0x14]
push eax
call fcn.00401000
mov ecx, dword [esp + 0x1c]
mov edi, eax
xor eax, eax
push esi
mov dword [ecx], edi
xor ecx, ecx
mov cx, word [ebp]
imul ecx, dword [esp + 0x1c]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov ax, word [ebp]
push eax
mov eax, dword [edx]
push ecx
push eax
call fcn.00401060
mov ecx, dword [esp + 0x34]
add esp, 0x18
call fcn.0041f430
mov edi, dword [esp + 0x1c]
push esi
call fcn.004010e0
add esp, 4
mov ecx, edi
call fcn.0041f430
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x23
mov dword [esp + 0x18], eax
jb 0x416399
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041ee20
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret