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

Disassembly:
sub esp, 0x24
push ebx
mov ebx, ecx
mov dword [esp + 0x18], edx
push ebp
push esi
push edi
movsx esi, byte [ebx + 0x44]
xor edx, edx
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov ebp, dword [ebx + esi*4 + 0x78]
mov eax, dword [eax + 4]
movzx ecx, word [ebx + esi*2 + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebp + 0x14]
movzx edi, cx
and edi, eax
add edi, dword [ebp + 0x38]
cmp byte [ebp + 5], dl
jne 0x426a0d
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
push eax
push ebx
call fcn.00423dca
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x426c32
test byte [ebx + 0x40], 0x20
je 0x426a2b
mov edx, dword [ebx + 0x34]
mov ecx, dword [esp + 0x18]
push ebx
call fcn.0042066c
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x426c32
cmp dword [ebx + 0x48], 0
jne 0x426a45
push dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
xor edx, edx
push dword [ebx + 0x10]
call fcn.0042056d
add esp, 8
cmp dword [esp + 0x24], 0
mov dword [esp + 0x14], 3
je 0x426a9d
cmp byte [ebp + 5], 0
je 0x426a8c
push edi
push ebp
call fcn.00420baf
pop ecx
pop ecx
movzx ecx, ax
xor edx, edx
movzx eax, word [ebp + 0x10]
add eax, 2
add ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x24]
add eax, eax
div dword [esp + 0x14]
cmp ecx, eax
jg 0x426a8c
mov dword [esp + 0x20], 1
jmp 0x426a9d
mov ecx, ebx
call fcn.004205de
mov ecx, eax
test ecx, ecx
jne 0x426c32
mov ecx, dword [ebp + 0x48]
call fcn.0041ddb1
mov ecx, eax
test ecx, ecx
jne 0x426c32
lea eax, [esp + 0x10]
mov edx, edi
push eax
mov ecx, ebp
call fcn.0042468d
mov edi, dword [esp + 0x20]
mov edx, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
pop ecx
push eax
movzx eax, word [esp + 0x14]
mov ecx, ebp
push eax
call fcn.00424a25
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x426c32
cmp byte [ebp + 5], cl
jne 0x426bb1
movsx eax, byte [ebx + 0x44]
mov edi, dword [ebx + eax*4 + 0x78]
mov eax, dword [ebx + esi*4 + 0x7c]
mov dword [esp + 0x10], edi
movzx ecx, word [edi + 0x12]
mov eax, dword [eax + 0x54]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x14]
movzx ecx, cx
and ecx, eax
lea eax, [edx + 4]
add ecx, edx
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jae 0x426b42
mov ecx, 0xf527
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
jmp fcn.00461cb5
push ecx
push edi
call dword [edi + 0x4c]
mov ecx, dword [esp + 0x18]
movzx edi, ax
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx + 0x48]
mov esi, dword [eax + 0x50]
call fcn.0041ddb1
mov edx, dword [esp + 0x24]
mov ecx, ebp
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x34]
lea eax, [edi + 4]
push esi
push eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffc
push eax
call fcn.00424b28
add esp, 0x1c
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
mov ecx, eax
push edi
movzx edx, word [eax + 0x12]
dec edx
call fcn.00424a25
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x426c32
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00426630
mov ecx, eax
test ecx, ecx
jne 0x426c32
movsx eax, byte [ebx + 0x44]
cmp eax, esi
jle 0x426bef
mov dl, byte [ebx + 0x44]
movsx eax, dl
dec dl
mov ecx, dword [ebx + eax*4 + 0x78]
mov byte [ebx + 0x44], dl
call fcn.00421789
movsx eax, byte [ebx + 0x44]
cmp eax, esi
jg 0x426bc6
mov ecx, ebx
call fcn.00426630
mov ecx, eax
test ecx, ecx
jne 0x426c32
cmp dword [esp + 0x20], 0
je 0x426c1c
mov byte [ebx + 0x42], 2
movzx eax, word [ebp + 0x12]
cmp edi, eax
jb 0x426c13
or dword [ebx + 0x3c], 0xffffffff
mov ax, word [ebp + 0x12]
dec ax
mov word [ebx + esi*2 + 0x50], ax
jmp 0x426c32
mov dword [ebx + 0x3c], 1
jmp 0x426c32
mov ecx, ebx
call fcn.0042360c
cmp dword [esp + 0x24], 0
mov ecx, eax
je 0x426c32
push 3
pop eax
mov byte [ebx + 0x42], al
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x24
ret