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

Disassembly:
sub esp, 0x3bc
push ebx
push ebp
push esi
mov dword [esp + 0x24], ecx
push edi
lea ecx, [esp + 0x14]
call fcn.00415655
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x424c7f
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x424c78
mov ecx, ebp
call fcn.004101bd
mov dword [esp + 0x18], eax
test eax, eax
je 0x424c78
xor ebx, ebx
mov esi, ebx
mov dword [esp + 0x14], esi
cmp ebp, 1
jbe 0x4249f1
lea ecx, [esp + 0x48]
call fcn.00415074
test al, al
je 0x4249f1
test ebp, ebp
je 0x4249f1
add edi, 0xf
push 0x14
lea eax, [esp + 0x5c]
push edi
push eax
call dword [0x9d14f4]
add esp, 0xc
test eax, eax
je 0x4249e9
inc esi
add edi, 0x1db
cmp esi, ebp
jb 0x4249c5
mov esi, ebx
jmp 0x4249ed
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x10]
push ebx
push 0xcc
xor dl, dl
lea ecx, [esp + 0x74]
call fcn.0040a149
lea eax, [ebp*2]
mov byte [esp + 0x6d], 4
lea ecx, [eax + eax]
mov eax, ebx
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x424c62
add eax, esi
xor edx, edx
div ebp
xor eax, eax
push 6
mov word [esp + 0x30], ax
pop ecx
mov esi, edx
imul esi, esi, 0x1db
add esi, edi
lea edi, [esp + 0x2e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx ecx, word [esi + 0x27]
mov dword [esp + 0x24], edx
test cx, cx
jne 0x424a72
cmp word [esi + 0x39], bx
jne 0x424a72
mov edi, dword [esp + 0x18]
cmp byte [edx + edi], bl
jne 0x424bf9
lea ecx, [esi + 0xf]
mov byte [edx + edi], 1
call fcn.0042466f
jmp 0x424bf9
mov eax, dword [esp + 0x1c]
xor edx, edx
lea edi, [ebp*2]
div edi
cmp edx, ebp
jae 0x424ab1
test cx, cx
je 0x424bf9
push 2
pop eax
mov word [esp + 0x2c], ax
mov ax, word [esi + 0x27]
movzx ecx, byte [esi + 0x28]
shl ax, 8
or cx, ax
lea eax, [esi + 0x23]
push 4
push eax
lea eax, [esp + 0x38]
jmp 0x424adc
cmp word [esi + 0x39], bx
je 0x424bf9
push 0x17
pop eax
mov word [esp + 0x2c], ax
mov ax, word [esi + 0x39]
movzx ecx, byte [esi + 0x3a]
shl ax, 8
or cx, ax
lea eax, [esi + 0x29]
push 0x10
push eax
lea eax, [esp + 0x3c]
push eax
mov word [esp + 0x3a], cx
call dword [0x9d14ec]
movzx ecx, word [esp + 0x38]
add esp, 0xc
push 1
call fcn.00433146
movzx eax, al
push eax
lea ecx, [esp + 0xa0]
call fcn.004115d8
mov ecx, dword [esp + 0x28]
push 3
push dword [ecx]
lea eax, [esi + 0xf]
push eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x2c], eax
call fcn.00411649
lea eax, [esp + 0x2c]
push dword [esp + 0x3d4]
lea ecx, [esp + 0x9c]
push 0x3a98
push eax
call fcn.0043320c
test al, al
je 0x424b8c
push dword [esp + 0x3d4]
mov edi, 0x7530
push edi
push 0x2c
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xa8]
call fcn.004335ab
test al, al
je 0x424b8c
push dword [esp + 0x3d4]
mov ecx, dword [esp + 0x3d4]
push edi
mov eax, dword [ecx]
lea edx, [esp + 0xa0]
push edx
call dword [eax + 4]
test al, al
jne 0x424c1d
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
cmp byte [esi + edi], bl
jne 0x424bed
call fcn.004266bd
test al, al
je 0x424bed
mov byte [esi + edi], 1
mov esi, dword [esp + 0x20]
mov dl, 1
mov ecx, esi
call fcn.0042471e
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], ebx
call fcn.00415074
test al, al
je 0x424be4
push 0x14
lea eax, [esp + 0x5c]
push esi
push eax
call dword [0x9d14f4]
add esp, 0xc
test eax, eax
jne 0x424be4
push ebx
push 0x66
xor edx, edx
pop ecx
call fcn.00414cd3
lea ecx, [esp + 0x20]
call fcn.00414baf
lea ecx, [esp + 0x98]
call fcn.00411627
mov eax, dword [esp + 0x1c]
lea edx, [ebp*2]
inc eax
lea ecx, [edx + edx]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jae 0x424c62
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x424a1f
add esi, 0xf
xor dl, dl
mov ecx, esi
call fcn.0042471e
push 0x24
lea eax, [esp + 0x4c]
push ebx
push eax
call dword [0x9d14f0]
add esp, 0xc
lea eax, [esp + 0x58]
push 0x14
push esi
push eax
call dword [0x9d14ec]
add esp, 0xc
lea ecx, [esp + 0x48]
call fcn.004150c4
lea ecx, [esp + 0x98]
mov bl, 1
call fcn.00411627
mov ecx, dword [esp + 0x10]
call fcn.004101e7
mov ecx, dword [esp + 0x18]
call fcn.004101e7
mov al, bl
jmp 0x424c81
mov ecx, edi
call fcn.004101e7
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3bc
ret 8