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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
push dword [edi + 8]
call fcn.00418dea
push eax
push dword [ebp + 0x18]
push dword [edi + 0x50]
push 0x20000172
push 3
call fcn.0040a617
add esp, 0x14
test byte [ebp + 0x18], 1
je 0x415045
push dword [ebp + 8]
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
push dword [edi + 0x10]
push dword [edi + 0x48]
push dword [edi]
call fcn.0041ecde
mov esi, eax
test esi, esi
jns 0x415045
push dword [ebp + 8]
push 0x4529b8
push esi
call 0x445a73
add esp, 0xc
jmp 0x4155be
lea eax, [ebp - 4]
push eax
push 0x20006
push dword [edi + 0x50]
push dword [edi + 0x4c]
call 0x4463d8
mov esi, eax
test esi, esi
jns 0x415071
push 0x4529e0
push esi
call 0x445a73
pop ecx
pop ecx
jmp 0x4155be
test byte [ebp + 0x18], 2
push ebx
je 0x415532
push dword [edi + 0x54]
mov ebx, 0x451d40
push ebx
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
js 0x415573
push dword [edi + 0x24]
mov ebx, 0x451dc4
push dword [edi + 0x20]
push ebx
push dword [ebp - 4]
call 0x446dbf
mov esi, eax
test esi, esi
js 0x415573
push dword [edi + 0x2c]
mov ebx, 0x451d60
push dword [edi + 0x28]
push ebx
push dword [ebp - 4]
call 0x446dbf
mov esi, eax
test esi, esi
js 0x415573
push dword [edi + 0x1c]
mov ebx, 0x451d80
push dword [edi + 0x18]
push ebx
push dword [ebp - 4]
call 0x446dbf
mov esi, eax
test esi, esi
js 0x415573
push dword [edi + 0x34]
mov ebx, 0x451da4
push dword [edi + 0x30]
push ebx
push dword [ebp - 4]
call 0x446dbf
mov esi, eax
test esi, esi
js 0x415573
mov ecx, dword [edi + 0x38]
mov ebx, 0x451e00
mov edx, dword [edi + 0x3c]
movzx eax, cx
push eax
mov eax, edx
shrd ecx, eax, 0x10
shr eax, 0x10
movzx eax, cx
push eax
movzx eax, dx
push eax
shr edx, 0x10
push edx
push 0x452a20
push ebx
push dword [ebp - 4]
call 0x446ef6
mov esi, eax
add esp, 0x1c
test esi, esi
js 0x415573
movzx eax, word [edi + 0x3e]
mov ebx, 0x45220c
push eax
push ebx
push dword [ebp - 4]
call 0x446cc7
mov esi, eax
test esi, esi
js 0x415573
mov eax, dword [edi + 0x38]
mov cl, 0x20
mov edx, dword [edi + 0x3c]
call fcn.004332a6
movzx eax, ax
mov ebx, 0x452228
push eax
push ebx
push dword [ebp - 4]
call 0x446cc7
mov esi, eax
test esi, esi
js 0x415573
cmp dword [edi + 0x44], 0
je 0x4151b5
push dword [edi + 0x44]
mov ebx, 0x451e38
push ebx
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
js 0x415573
cmp dword [edi + 0x14], 0
je 0x4151d6
push dword [edi + 0x14]
mov ebx, 0x451e5c
push ebx
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
js 0x415573
push 0x44cad4
push 0x452a40
mov ebx, 0x451e1c
push ebx
push dword [ebp - 4]
call 0x446ef6
mov esi, eax
add esp, 0x10
test esi, esi
js 0x415573
push dword [edi + 0x54]
mov ebx, 0x451fd8
push 0x452a48
push ebx
push dword [ebp - 4]
call 0x446ef6
mov esi, eax
add esp, 0x10
test esi, esi
js 0x415573
push dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
push ebx
push edi
call fcn.004141f3
mov esi, eax
test esi, esi
jns 0x41523b
push 0x452a54
jmp 0x4155b5
cmp dword [edi + 0x64], 0
je 0x415261
push dword [edi + 0x64]
push 0x451ff0
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
jns 0x415261
push 0x451ff0
jmp 0x415574
lea eax, [ebp - 8]
push eax
push ebx
push edi
call fcn.004139b7
test eax, eax
mov eax, dword [ebp - 8]
jns 0x415276
mov eax, dword [edi + 0x68]
push eax
push 0x45202c
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
jns 0x415294
push 0x45202c
jmp 0x415574
cmp dword [edi + 0x6c], 0
je 0x4152ba
push dword [edi + 0x6c]
push 0x452040
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
jns 0x4152ba
push 0x452040
jmp 0x415574
cmp dword [edi + 0x70], 0
je 0x4152e0
push dword [edi + 0x70]
push 0x452054
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
jns 0x4152e0
push 0x452054
jmp 0x415574
cmp dword [edi + 0x74], 0
je 0x415306
push dword [edi + 0x74]
push 0x452070
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
jns 0x415306
push 0x452070
jmp 0x415574
cmp dword [edi + 0x78], 0
je 0x41532c
push dword [edi + 0x78]
push 0x45208c
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
jns 0x41532c
push 0x45208c
jmp 0x415574
cmp dword [edi + 0x7c], 0
je 0x415372
push dword [edi + 0x7c]
push 0x4520a8
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
jns 0x415352
push 0x4520a8
jmp 0x415574
push dword [edi + 0x7c]
push 0x4520cc
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
jns 0x415372
push 0x4520cc
jmp 0x415574
mov eax, dword [edi + 0x80]
test eax, eax
je 0x41539a
push eax
push 0x4520e8
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
jns 0x41539a
push 0x4520e8
jmp 0x415574
mov eax, dword [edi + 0x84]
test eax, eax
je 0x4153c2
push eax
push 0x4520fc
push dword [ebp - 4]
call 0x446d15
mov esi, eax
test esi, esi
jns 0x4153c2
push 0x4520fc
jmp 0x415574
mov eax, dword [edi + 0x88]
cmp eax, 1
jne 0x4153eb
push eax
push 0x45210c
push dword [ebp - 4]
call 0x446cc7
mov esi, eax
test esi, esi
jns 0x415437
push 0x45210c
jmp 0x415574
cmp eax, 2
je 0x415437
push dword [edi + 0x54]
push 0x452a7c
push 0x452120
push dword [ebp - 4]
call 0x446ef6
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x415418
push 0x452120
jmp 0x415574
push 1
push 0x452138
push dword [ebp - 4]
call 0x446cc7
mov esi, eax
test esi, esi
jns 0x415437
push 0x452138
jmp 0x415574
cmp dword [edi + 0x8c], 0
je 0x415463
push dword [edi + 0x90]
push 0x45215c
push dword [ebp - 4]
call 0x446cc7
mov esi, eax
test esi, esi
jns 0x415463
push 0x45215c
jmp 0x415574
cmp dword [edi + 4], 0
jne 0x415488
push 1
push 0x452170
push dword [ebp - 4]
call 0x446cc7
mov esi, eax
test esi, esi
jns 0x415488
push 0x452170
jmp 0x415574
push dword [edi + 0x54]
push 0x452a98
push 0x452190
push dword [ebp - 4]
call 0x446ef6
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x4154b0
push 0x452190
jmp 0x415574
cmp dword [edi + 0x88], 2
mov eax, 0x452ac8
je 0x4154c3
mov eax, 0x452ad8
push eax
push dword [edi + 0x54]
push 0x44cd0c
push 0x4521bc
push dword [ebp - 4]
call 0x446ef6
mov esi, eax
add esp, 0x14
test esi, esi
jns 0x4154ec
push 0x4521bc
jmp 0x415574
cmp dword [edi + 0x98], 0
je 0x415512
lea eax, [edi + 0x94]
push eax
push ebx
call fcn.00414494
mov esi, eax
test esi, esi
jns 0x415512
push 0x452af0
jmp 0x4155b5
cmp dword [edi + 0x9c], 0
je 0x415532
push ebx
push edi
call fcn.004145c8
mov esi, eax
test esi, esi
jns 0x415532
push 0x452b10
jmp 0x4155b5
test byte [ebp + 0x18], 4
je 0x415584
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
shrd ecx, eax, 0xa
shr eax, 0xa
test eax, eax
jb 0x415584
ja 0x415553
test ecx, ecx
je 0x415584
test eax, eax
jb 0x41555c
push 0xffffffffffffffff
pop eax
ja 0x41555e
cmp ecx, eax
ja 0x41555e
mov eax, ecx
push eax
mov ebx, 0x452010
push ebx
push dword [ebp - 4]
call 0x446cc7
mov esi, eax
test esi, esi
jns 0x415584
push ebx
push 0x452a04
push esi
call 0x445a73
add esp, 0xc
jmp 0x4155bd
cmp dword [ebp + 0x1c], 1
jne 0x41559d
push edi
call fcn.0042d536
mov esi, eax
test esi, esi
jns 0x41559d
push 0x452b38
jmp 0x4155b5
push 0
push 1
push dword [ebp - 4]
push edi
call fcn.00414253
mov esi, eax
test esi, esi
jns 0x4155bd
push 0x452b68
push esi
call 0x445a73
pop ecx
pop ecx
pop ebx
cmp dword [ebp - 8], 0
je 0x4155cc
push dword [ebp - 8]
call fcn.0040769d
cmp dword [ebp - 4], 0
je 0x4155db
push dword [ebp - 4]
call dword [0x44c000]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x20