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

Disassembly:
sub esp, 0xc4
mov eax, dword [esp + 0xd0]
push ebx
push ebp
mov ebp, ecx
mov cl, byte [eax]
push esi
mov esi, 6
xor ebx, ebx
test cl, cl
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
jne 0x4251da
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0x34]
push eax
call fcn.0041815e
lea ecx, [esp + 0x1c]
call fcn.00417fee
jmp 0x42522a
mov edi, dword [esp + 0xd8]
cmp edi, ebx
je 0x425201
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
mov ecx, ebp
call fcn.0041bd4e
push edi
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0041815e
jmp 0x42521d
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x34]
push edx
mov edx, dword [esp + 0xe0]
push ecx
push eax
push edx
mov ecx, ebp
call fcn.0041c05e
mov esi, eax
cmp esi, ebx
je 0x425658
mov esi, 6
cmp dword [esp + 0x34], 3
jne 0x425658
mov eax, dword [esp + 0xe8]
mov edi, dword [esp + 0x3c]
cmp eax, ebx
je 0x42528d
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x24]
call fcn.004181ce
mov esi, dword [esp + 0x24]
push 0x450130
mov ecx, edi
call fcn.00417bde
cmp eax, ebx
je 0x425274
push 1
push ebx
push eax
push 0x450108
mov ecx, esi
call fcn.00417d2e
push 1
lea eax, [esp + 0x38]
push ebx
push eax
push 0x45013c
mov ecx, esi
call fcn.00417d2e
mov esi, 6
mov eax, dword [edi + 0x40]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x425418
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0xac], esi
mov ecx, ebx
mov dword [esp + 0xbc], esi
shl ecx, 4
add ecx, 4
push ecx
call 0x3fb7be
xor esi, esi
add esp, 4
cmp eax, esi
je 0x42540f
lea ecx, [ebx - 1]
lea edx, [eax + 4]
mov dword [eax], ebx
cmp ecx, esi
mov eax, edx
jl 0x4252f8
inc ecx
mov dword [eax], 6
mov dword [eax + 4], esi
add eax, 0x10
dec ecx
jne 0x4252e9
cmp edx, esi
mov dword [esp + 0xa0], edx
je 0x4253f2
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xac], eax
call fcn.0041823e
mov edx, dword [edi + 0x48]
cmp ebx, esi
mov dword [esp + 0xcc], edx
je 0x42537e
mov edi, ebx
mov dword [esp + 0xe4], 0
mov eax, dword [esp + 0xa0]
lea ecx, [esi + eax]
push ecx
mov ecx, ebp
call fcn.0042080e
add esi, 0x10
dec edi
jne 0x42535f
mov ebx, dword [esp + 0xe4]
lea edx, [esp + 0x94]
push edx
call dword [esp + 0x14]
mov eax, dword [esp + 0xa8]
add esp, 4
test eax, eax
lea eax, [esp + 0xbc]
jne 0x4253a6
lea eax, [esp + 0xac]
push eax
mov ecx, ebp
call fcn.0042065e
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x4253ea
mov eax, dword [ecx - 4]
lea edx, [ecx - 4]
mov esi, eax
mov dword [esp + 0x14], edx
shl esi, 4
add esi, ecx
dec eax
js 0x4253e1
lea edi, [eax + 1]
sub esi, 0x10
mov ecx, esi
call fcn.00417fee
dec edi
jne 0x4253d0
mov edx, dword [esp + 0x14]
push edx
call 0x3fb7ce
add esp, 4
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xbc]
call fcn.00417fee
lea ecx, [esp + 0xac]
call fcn.00417fee
jmp 0x42565f
mov dword [esp + 0xa0], esi
jmp 0x4253f2
cmp dword [edi + 0x38], ebx
je 0x425658
push 0x18
call 0x3fb7be
add esp, 4
cmp eax, ebx
je 0x42543c
mov ecx, eax
call fcn.0040d38e
mov dword [esp + 0x10], eax
jmp 0x425440
mov dword [esp + 0x10], ebx
push ebx
push ebp
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebx
call fcn.004181ce
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov ebx, eax
test ecx, ecx
mov dword [esp + 0x54], ebx
je 0x42564f
test eax, eax
je 0x42564f
push 0x30
call 0x3fb7be
add esp, 4
test eax, eax
je 0x42548a
mov ecx, eax
call fcn.0040d8fe
mov esi, eax
jmp 0x42548c
xor esi, esi
mov eax, dword [ebp + 0x974]
mov ecx, dword [esp + 0x10]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [ebp + 0x974], esi
mov eax, dword [edi + 0x3c]
test eax, eax
mov dword [esi + 0x20], eax
je 0x4254ae
inc dword [eax + 8]
mov ecx, dword [esi + 0x1c]
push 0
lea edx, [esp + 0x20]
push 0
push edx
push 0x450180
call fcn.00417d2e
mov ecx, dword [esi + 0x1c]
push 0
lea eax, [esp + 0x6c]
push 0
push eax
push 0x450244
call fcn.00417d2e
push 0
lea ecx, [esp + 0x38]
push 0
push ecx
push 0x45023c
mov ecx, ebx
call fcn.00417d2e
mov edi, dword [edi + 0x38]
mov eax, dword [esp + 0xe4]
xor ebx, ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x8c], 0x20000000
mov dword [esp + 0x7c], 2
mov bh, byte [edi + 1]
mov bl, byte [edi]
xor edi, edi
test eax, eax
jle 0x4255a6
lea edx, [esp + 0x58]
mov ecx, ebp
push edx
mov dword [esp + 0x5c], 6
mov dword [esp + 0x60], 0
call fcn.0042080e
cmp edi, ebx
jge 0x42555c
lea ecx, [esp + 0x78]
call fcn.00412ade
push 0
lea ecx, [esp + 0x5c]
push 0
push ecx
mov ecx, dword [esi + 0x1c]
push eax
call fcn.00417d2e
push 0xa
push edi
call fcn.0041b29e
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x425589
mov ecx, dword [esp + 0x54]
push 0
lea edx, [esp + 0x5c]
push 0
push edx
push ebp
call fcn.00417d2e
push ebp
call fcn.0041720e
add esp, 4
lea ecx, [esp + 0x58]
call fcn.00417fee
mov eax, dword [esp + 0xe4]
mov ebp, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x425521
xor eax, eax
cmp edi, ebx
mov dword [esp + 0xe4], eax
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], eax
jge 0x4255df
sub ebx, edi
lea ecx, [esp + 0x78]
call fcn.00412ade
push 0
lea ecx, [esp + 0x48]
push 0
push ecx
mov ecx, dword [esi + 0x1c]
push eax
call fcn.00417d2e
dec ebx
jne 0x4255c1
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0xdc]
add ecx, 2
cmp eax, 4
mov dword [esp + 0x7c], ecx
jne 0x42560e
mov edx, dword [esp + 0x24]
mov ecx, ebp
push edx
push 0
call fcn.0041aa6e
test eax, eax
je 0x42560e
mov edi, eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
add eax, ecx
mov ecx, dword [esp + 0x10]
push edi
push eax
call fcn.0040d46e
mov eax, dword [esp + 0xe8]
xor edx, edx
test eax, eax
setne dl
mov ecx, 1
inc edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x44]
mov dword [esi + 0x18], edx
mov dword [esp + 0x2c], eax
call fcn.00417fee
lea ecx, [esp + 0x68]
call fcn.00417fee
mov ebx, dword [esp + 0xe4]
test ebx, ebx
je 0x42566f
mov esi, ebx
mov ecx, ebp
call fcn.0042077e
dec esi
jne 0x425665
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x425683
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.0042065e
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4256b0
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 6
push ecx
mov ecx, ebp
mov dword [esp + 0x4c], 0
call fcn.0042065e
lea ecx, [esp + 0x44]
call fcn.00417fee
lea ecx, [esp + 0x1c]
call fcn.00417fee
lea ecx, [esp + 0x34]
call fcn.00417fee
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret 0x14