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

Disassembly:
sub esp, 0xa4
mov ecx, dword [esp + 0xc8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xbc]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
push edi
xor edi, edi
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x1c], 0x40000
mov cl, byte [esi + 0x15]
not cl
movzx eax, cl
mov ecx, dword [esi + 0x34]
and eax, 8
shl eax, 4
or eax, 3
cmp ecx, edi
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x74], eax
lea ebx, [edi + 1]
je 0x42471d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], 0xffffcfff
mov dword [esp + 0x3c], eax
jmp 0x424795
push 0x34
lea edx, [esp + 0x84]
push edi
push edx
call sub.msvcrt.dll_memset
lea eax, [esp + 0x68]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x18]
add esp, 0xc
cmp byte [esi + 0x16], 0
lea ecx, [esp + 0x78]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x98], 5
mov dword [esp + 0x90], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
jne 0x42477a
mov eax, dword [eax + 0x10]
mov dword [esp + 0xa0], eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x44], 0xfff0ffff
mov dword [esp + 0x3c], 3
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], ecx
lea esp, [esp]
mov ebx, dword [esp + 0x40]
mov edx, dword [ebx + 0xc]
mov ebp, dword [esp + 0xc8]
xor esi, esi
cmp esi, dword [ebx + 4]
mov edi, 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], 0x64
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x38], esi
jge 0x424979
mov edi, edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx + 8]
mov eax, dword [eax + esi*4]
push ecx
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0x3c]
push ebp
push ecx
push eax
mov eax, dword [esp + 0xd0]
push edx
push eax
call fcn.00422270
add esp, 0x1c
test eax, eax
je 0x42488a
movzx ecx, word [eax + 0x10]
or dword [esp + 0x10], 0x11000
test cl, 1
je 0x424864
mov ecx, dword [eax]
or dword [esp + 0x10], 0x40000
test word [ecx + 2], 0x800
je 0x424853
imul edi, edi, 0x19
mov dword [esp + 0x48], 1
jmp 0x424870
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x424870
mov ecx, dword [ecx]
add ecx, 1
imul edi, ecx
jmp 0x424870
test cl, cl
jns 0x424870
or dword [esp + 0x10], 0x80000
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
or dword [esp + 0x20], edx
or dword [esp + 0x24], eax
add esi, 1
cmp esi, dword [ebx + 4]
jl 0x4247f0
cmp esi, dword [ebx + 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], esi
jge 0x424979
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0xc4]
mov edi, dword [ecx + esi*4]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0xc0]
push 0x3c
push ebp
push eax
push edi
push ecx
push edx
call fcn.00422270
add esp, 0x1c
test eax, eax
je 0x424991
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0xc0]
push 0x18
push ebp
push ecx
push edi
push edx
push eax
call fcn.00422270
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0xdc]
push 0x24
push ebp
push edx
mov esi, eax
mov eax, dword [esp + 0x60]
push edi
push eax
push ecx
call fcn.00422270
mov ecx, eax
push esi
push ecx
lea eax, [esp + 0x94]
call fcn.004093d0
add esp, 0x40
test esi, esi
je 0x42494c
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or dword [esp + 0x10], 0x100000
or dword [esp + 0x20], edx
or dword [esp + 0x24], eax
mov dword [esp + 0x1c], 1
test ecx, ecx
je 0x42496b
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add dword [esp + 0x1c], 1
or dword [esp + 0x10], 0x200000
or dword [esp + 0x20], edx
or dword [esp + 0x24], eax
or dword [esp + 0x10], 0x22000
mov esi, dword [esp + 0x38]
jmp 0x424991
cmp byte [ebx + 0x18], 0
je 0x424991
test dword [esp + 0x10], 0xc0000
jne 0x424991
or dword [esp + 0x10], 0x4000000
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x4249f2
test dword [esp + 0x10], 0xc0000
jne 0x4249ea
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x70]
push ecx
push esi
push eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [esp + 0xc8]
push ebx
push ecx
push edx
call fcn.0041f3e0
add esp, 0x1c
test eax, eax
je 0x4249ea
mov eax, dword [esp + 0x70]
neg eax
sbb eax, eax
and eax, 0x2000000
or eax, 0x1022000
or dword [esp + 0x10], eax
jmp 0x4249f2
mov dword [esp + 0x50], 1
cmp dword [esp + 0x14], 0
je 0x424a5b
cmp dword [esp + 0x10], 0
je 0x424a5b
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x14]
mov ebp, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
mov eax, dword [ecx + 4]
test eax, eax
jle 0x424a45
mov ebx, dword [ecx + 8]
mov dword [esp + 0x4c], eax
nop
mov ecx, dword [ebx]
cmp ecx, 0x3f
jge 0x424a3b
mov eax, 1
xor edx, edx
call fcn.0045e020
not eax
not edx
and ebp, eax
and edi, edx
add ebx, 4
sub dword [esp + 0x4c], 1
jne 0x424a20
or ebp, edi
jne 0x424a53
or dword [esp + 0x10], 0x800000
jmp 0x424a5b
mov dword [esp + 0x58], 1
mov ecx, dword [esp + 0x30]
mov ebp, dword [ecx + esi*4]
mov edi, ebp
imul edi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [esp + 0x48], ebx
je 0x424a9e
push ebx
push 2
push ebx
mov edx, ecx
mov esi, dword [edx]
push edi
call fcn.0045e040
xor ecx, ecx
cmp edx, ecx
jl 0x424a9e
jg 0x424a8b
cmp eax, esi
jbe 0x424a9e
xor ebx, ebx
push ebx
push ebp
shr esi, 1
push ebx
mov edi, esi
push edi
call fcn.0045e140
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push 0
push ecx
call fcn.00409400
mov ecx, eax
mov eax, dword [esp + 0x20]
add esp, 8
mov esi, edx
cdq
push edx
push eax
push esi
push ecx
call fcn.0045e040
mov ebp, eax
mov eax, dword [esp + 0x54]
push ebx
mov esi, edx
cdq
push edi
push edx
add ebp, edi
push eax
adc esi, ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
call fcn.0045e040
push 0
push 0x64
push edx
push eax
call fcn.0045e140
push esi
mov edi, edx
mov edx, dword [esp + 0x68]
push ebp
mov ebx, eax
mov eax, dword [esp + 0x68]
push edx
push eax
call fcn.0045e040
push 0
push 0x64
push edx
push eax
call fcn.0045e140
cmp dword [esp + 0x50], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
je 0x424b3e
mov ebp, edx
mov esi, eax
push ebp
push esi
call fcn.00409400
add esp, 8
push ebp
add eax, 1
push esi
adc edx, 0
push edx
push eax
call fcn.0045e040
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x14], 0
je 0x424b67
cmp dword [esp + 0x58], 0
jne 0x424b67
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
push 2
push ecx
push edx
call fcn.0045e140
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
test edi, edi
jl 0x424c7a
jg 0x424b7a
cmp ebx, 2
jbe 0x424c7a
mov ebp, dword [esp + 0xd8]
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x1c]
jg 0x424c81
jl 0x424b9d
mov ecx, dword [esp + 0x28]
cmp ecx, dword [ebp + 0x18]
ja 0x424c81
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], eax
call fcn.00409530
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x6c], edx
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x18], edx
lea esi, [eax + 0x10]
lea esp, [esp]
cmp dword [esp + 0x18], 0
je 0x424c66
test byte [esi + 2], 2
jne 0x424c4f
mov eax, dword [esi + 0x10]
and eax, dword [esp + 0xcc]
mov ecx, dword [esi + 0x14]
and ecx, dword [esp + 0xd0]
cmp eax, dword [esp + 0x68]
jne 0x424c4f
cmp ecx, dword [esp + 0x6c]
jne 0x424c4f
movzx eax, word [esi]
test al, 0x83
je 0x424c28
cmp dword [esp + 0x30], 0
je 0x424c22
sub dword [esp + 0x30], 1
jmp 0x424c4f
push 0
push 0xa
jmp 0x424c44
test al, 0x3c
je 0x424c40
cmp dword [esp + 0x1c], 0
je 0x424c3a
sub dword [esp + 0x1c], 1
jmp 0x424c4f
push 0
push 3
jmp 0x424c44
push 0
push 2
push edi
push ebx
call fcn.0045e140
mov ebx, eax
mov edi, edx
sub dword [esp + 0x18], 1
add esi, 0x28
test edi, edi
jg 0x424be0
jl 0x424c66
cmp ebx, 2
ja 0x424be0
test edi, edi
jg 0x424c81
jl 0x424c71
cmp ebx, 2
jae 0x424c81
mov ebx, 2
xor edi, edi
jmp 0x424c81
mov ebp, dword [esp + 0xd8]
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x10]
je 0x424c90
test eax, eax
je 0x424cf1
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
mov esi, dword [ebp + 0x18]
jl 0x424cbe
jg 0x424ca6
cmp dword [esp + 0x28], esi
jb 0x424cbe
cmp edx, ecx
jg 0x424cf1
jl 0x424cb2
cmp dword [esp + 0x28], esi
ja 0x424cf1
cmp edi, dword [ebp + 0xc]
jg 0x424cf1
jl 0x424cbe
cmp ebx, dword [ebp + 8]
jae 0x424cf1
and eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x1c], edx
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x20], edx
mov edx, dword [esp + 0x38]
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x24], ecx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 4], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [esp + 0xc0]
cmp dword [ecx + 0x34], 0
jne 0x424d2c
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x20]
test eax, eax
mov edx, dword [esp + 0x74]
mov dword [esp + 0x44], 0xffffcfff
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], eax
jne 0x4247a0
mov ebp, dword [esp + 0xd8]
cmp dword [esp + 0xd4], 0
jne 0x424d4f
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx]
test dword [edx + 0xc], 0x1000000
je 0x424d4f
or dword [ebp], 0x2000000
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
push eax
push ecx
mov esi, ebp
call fcn.00413820
mov edx, dword [esp + 0x50]
add esp, 0x14
or dword [ebp], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret