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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xe0
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x18]
call fcn.00413232
mov esi, dword [ebp + 0x74]
xor ebx, ebx
cmp eax, 2
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], edx
jne 0x414a80
cmp edx, ebx
jne 0x414a80
lea eax, [esi + 0x130]
push eax
mov ecx, edi
call fcn.004139be
mov ecx, dword [edi + 0x18]
call fcn.00413232
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], edx
cmp dword [ebp + 0x64], 3
push 4
pop eax
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x34], 0x419230
jne 0x414b02
cmp dword [ebp + 0x68], ebx
jne 0x414b02
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x34]
push dword [ebp + 0x78]
lea eax, [esi + 0x150]
push ecx
push eax
push dword [esi + 0x144]
mov ecx, edi
push dword [esi + 0x140]
call fcn.00414736
cmp eax, ebx
je 0x414ada
mov ebx, eax
lea ecx, [ebp + 0x34]
call fcn.00413509
mov eax, ebx
jmp 0x415025
mov ecx, dword [esi + 0x140]
lea eax, [esi + 0x150]
add dword [eax], ecx
mov ecx, dword [esi + 0x144]
adc dword [eax + 4], ecx
mov ecx, dword [edi + 0x18]
call fcn.00413232
push 4
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], edx
pop eax
cmp dword [ebp + 0x64], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x30], 0x41851c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x1c], 0x41851c
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0xc], 0x41851c
jne 0x414ba3
cmp dword [ebp + 0x68], ebx
jne 0x414ba3
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [esi + 0x50]
push ecx
lea ecx, [esi + 0x3c]
push ecx
lea ecx, [esi + 0x28]
push ecx
lea ecx, [esi + 0x14]
push ecx
push esi
lea eax, [esi + 0x148]
push eax
lea eax, [ebp + 0x34]
push eax
mov ecx, edi
call fcn.004146b7
mov ecx, dword [esi + 0x140]
lea eax, [esi + 0x148]
add dword [eax], ecx
mov ecx, dword [esi + 0x144]
adc dword [eax + 4], ecx
mov ecx, dword [edi + 0x18]
call fcn.00413232
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], edx
jmp 0x414bf9
cmp dword [esi + 0x44], ebx
mov dword [ebp + 0x74], ebx
jle 0x414bf9
push 1
lea ecx, [esi + 0x50]
call fcn.00413350
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp + 0x74]
mov ecx, dword [eax + ecx*4]
mov dword [ebp + 0x7c], ecx
call fcn.00411c0d
push edx
push eax
lea ecx, [ebp - 0x30]
call fcn.00410c16
mov eax, dword [ebp + 0x7c]
movzx eax, byte [eax + 0x54]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00411a59
mov eax, dword [ebp + 0x7c]
push dword [eax + 0x50]
lea ecx, [ebp + 0xc]
call fcn.00413350
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
cmp eax, dword [esi + 0x44]
jl 0x414bab
lea ecx, [esi + 0x64]
call fcn.0040f74a
mov eax, dword [ebp + 0x64]
or eax, dword [ebp + 0x68]
jne 0x414c26
lea ecx, [ebp + 0xc]
call fcn.0040f7e9
lea ecx, [ebp - 0x1c]
call fcn.0040f7e9
lea ecx, [ebp - 0x30]
call fcn.0040f7e9
jmp 0x414acb
cmp dword [ebp + 0x64], 5
jne 0x414c31
cmp dword [ebp + 0x68], ebx
je 0x414c36
call fcn.00413197
mov ecx, dword [edi + 0x18]
call fcn.004132c7
push eax
lea ecx, [esi + 0x64]
mov dword [ebp + 0x74], eax
call fcn.0040f681
cmp dword [ebp + 0x74], ebx
jbe 0x414c74
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x7c], eax
lea ecx, [ebp - 0x74]
call fcn.00413cb7
push eax
lea ecx, [esi + 0x64]
call fcn.00414018
push dword [ebp - 0x64]
call fcn.004161ba
dec dword [ebp + 0x7c]
pop ecx
jne 0x414c55
push ebx
lea ecx, [esi + 0x158]
push 9
call fcn.00410c16
cmp dword [esi + 8], ebx
je 0x414c95
push ebx
push 6
lea ecx, [esi + 0x158]
call fcn.00410c16
cmp dword [ebp + 0x74], ebx
jbe 0x414cad
cmp dword [ebp + 0x14], ebx
je 0x414cad
push ebx
push 0xa
lea ecx, [esi + 0x158]
call fcn.00410c16
lea eax, [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], 1
mov dword [ebp + 0x20], 0x41851c
call fcn.00413372
pop ecx
xor ecx, ecx
inc ecx
mov eax, 0x41851c
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], eax
mov dword [ebp + 0x7c], ebx
jmp 0x414f20
mov ecx, dword [edi + 0x18]
call fcn.00413232
cmp dword [ebp + 0x54], ebx
mov ecx, dword [edi + 0x18]
mov dword [ebp + 0x58], eax
mov eax, dword [ecx + 8]
mov dword [ebp + 0x5c], edx
mov dword [ebp + 0x60], eax
ja case.0x414d3d.22
jb 0x414d2e
cmp dword [ebp + 0x50], 0x40000000
ja case.0x414d3d.22
mov eax, dword [ebp + 0x50]
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x414d3d.22
jmp dword [eax*4 + 0x415030]
lea eax, [ebp + 0x34]
push eax
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x50], bl
call fcn.0041414a
cmp dword [esi + 0x6c], ebx
mov dword [ebp + 0x78], ebx
jle 0x414d7c
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi + 0x18]
add eax, 0x10
push eax
call fcn.0041376b
inc dword [ebp + 0x78]
mov eax, dword [ebp + 0x78]
cmp eax, dword [esi + 0x6c]
jl 0x414d5c
lea ecx, [ebp - 0x54]
call fcn.004140fb
push dword [ebp + 0x54]
lea ecx, [esi + 0x158]
push dword [ebp + 0x50]
call fcn.00410c16
jmp 0x414ef2
lea eax, [ebp - 0x68]
push eax
push dword [esi + 0x6c]
mov ecx, edi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x68], 0x41851c
call fcn.00413403
lea eax, [ebp + 0x34]
push eax
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x48], bl
call fcn.0041414a
cmp dword [ebp + 0x74], ebx
mov dword [ebp + 0x78], ebx
jbe 0x414e09
mov ecx, ebx
mov eax, dword [esi + 0x70]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x5c]
mov al, byte [eax + ecx]
cmp al, bl
mov dword [ebp + 0x68], edx
mov byte [edx + 0x1f], al
je 0x414e00
mov ecx, dword [edi + 0x18]
call fcn.004132dd
mov ecx, dword [ebp + 0x68]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0x78]
inc ecx
cmp ecx, dword [ebp + 0x74]
mov dword [ebp + 0x78], ecx
jb 0x414dd9
lea ecx, [ebp - 0x4c]
call fcn.004140fb
lea ecx, [ebp - 0x68]
call fcn.0040f7e9
jmp 0x414d84
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x74]
mov ecx, edi
call fcn.004133af
xor eax, eax
cmp dword [ebp + 0x28], ebx
jbe 0x414e44
mov ecx, dword [ebp + 0x2c]
cmp byte [ecx + eax], bl
je 0x414e3e
inc dword [ebp + 0x7c]
inc eax
cmp eax, dword [ebp + 0x28]
jb 0x414e33
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 0x7c]
call fcn.00413372
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x7c]
call fcn.00413372
pop ecx
pop ecx
jmp 0x414d84
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x7c]
mov ecx, edi
call fcn.004133af
jmp 0x414d84
lea eax, [ebp - 8]
jmp 0x414e66
lea eax, [esi + 0xf0]
push dword [ebp + 0x74]
mov ecx, edi
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00414405
jmp 0x414d84
lea eax, [esi + 0x78]
jmp 0x414e81
lea eax, [esi + 0xa0]
jmp 0x414e81
lea eax, [esi + 0xc8]
jmp 0x414e81
cmp dword [ebp + 0x5c], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
jb 0x414ef2
ja 0x414ebc
cmp dword [ebp + 0x58], ebx
jbe 0x414ef2
mov ecx, dword [edi + 0x18]
call fcn.004131b7
test al, al
jne 0x414c31
add dword [ebp + 0x48], 1
adc dword [ebp + 0x4c], ebx
mov eax, dword [ebp + 0x4c]
cmp eax, dword [ebp + 0x5c]
jb 0x414ebc
ja 0x414ef2
mov eax, dword [ebp + 0x48]
cmp eax, dword [ebp + 0x58]
jb 0x414ebc
jmp 0x414ef2
push dword [ebp + 0x5c]
push dword [ebp + 0x58]
call fcn.00413205
cmp byte [esi + 0x130], bl
ja 0x414f03
cmp byte [esi + 0x131], 2
jbe 0x414f20
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp + 0x60]
xor ecx, ecx
cmp eax, dword [ebp + 0x58]
jne 0x414c31
cmp ecx, dword [ebp + 0x5c]
jne 0x414c31
mov ecx, dword [edi + 0x18]
call fcn.00413232
mov dword [ebp + 0x50], eax
or eax, edx
mov dword [ebp + 0x54], edx
jne 0x414cff
xor edi, edi
xor eax, eax
cmp dword [ebp + 0x7c], ebx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x60], ebx
jbe 0x414f56
mov ecx, dword [ebp + 4]
cmp byte [ecx + eax], bl
je 0x414f50
inc dword [ebp + 0x60]
inc eax
cmp eax, dword [ebp + 0x7c]
jb 0x414f45
xor ecx, ecx
cmp dword [ebp + 0x74], ebx
mov dword [ebp + 0x78], ecx
jbe 0x414feb
mov edx, dword [ebp + 0x2c]
cmp byte [edx + ecx], bl
mov eax, dword [esi + 0x70]
mov eax, dword [eax + ecx*4]
sete cl
cmp cl, bl
mov byte [eax + 0x1c], cl
je 0x414fa4
mov byte [eax + 0x1d], bl
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + edi*8]
mov dword [eax], edx
mov ecx, dword [ecx + edi*8 + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + edi*4]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + edi]
mov byte [ebp + 0x7c], bl
mov byte [eax + 0x1e], cl
inc edi
jmp 0x414fc8
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x68]
cmp byte [edx + ecx], bl
sete dl
mov byte [eax + 0x1d], dl
mov edx, dword [ebp + 4]
mov dl, byte [edx + ecx]
inc ecx
mov byte [ebp + 0x7c], dl
mov dword [ebp + 0x68], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [eax + 0x1e], bl
cmp dword [ebp + 0x60], ebx
je 0x414fdb
push dword [ebp + 0x7c]
lea ecx, [esi + 0x118]
call fcn.00411a59
mov ecx, dword [ebp + 0x78]
inc ecx
cmp ecx, dword [ebp + 0x74]
mov dword [ebp + 0x78], ecx
jb 0x414f64
lea ecx, [ebp - 8]
call fcn.0040f7e9
lea ecx, [ebp - 0x44]
call fcn.0040f7e9
lea ecx, [ebp + 0x20]
call fcn.0040f7e9
lea ecx, [ebp + 0xc]
call fcn.0040f7e9
lea ecx, [ebp - 0x1c]
call fcn.0040f7e9
lea ecx, [ebp - 0x30]
call fcn.0040f7e9
lea ecx, [ebp + 0x34]
call fcn.00413509
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc