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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, edx
and eax, 1
xor esi, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
cmp edi, 1
je 0x4260d2
cmp byte [ebx + 0x16], cl
je 0x4260d2
cmp byte [ebx + 0x10], 1
je 0x4260c8
test dl, 2
je 0x4260d2
mov dword [esp + 0x18], 1
jmp 0x4260d6
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x4260fc
push 0x55279c
push 0xb9f1
push 0x552cc4
push 0xb
call fcn.0041a1c0
add esp, 0x10
lea eax, [edi + 0xb]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x28]
mov byte [ebx + 0x17], 1
test edx, edx
je 0x42610e
mov esi, edx
jmp 0x4262a4
cmp dword [esp + 0x18], ecx
je 0x426212
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x426145
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
call fcn.004296c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x42640e
cmp dword [esp + 0x14], eax
jne 0x426212
mov esi, dword [ebx + 0x98]
xor ecx, ecx
push ecx
mov dword [esp + 0x14], ecx
mov eax, esi
cdq
lea ecx, [edi - 1]
push ecx
push edx
push eax
call fcn.004f9b60
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x42640e
cmp dword [esp + 0x10], eax
je 0x426212
cmp byte [ebx + 0x10], 1
jbe 0x4261ab
mov eax, ebx
call fcn.00426440
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4261c4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push edi
mov esi, ebx
call fcn.00424eb0
add esp, 0xc
mov esi, eax
jmp 0x4261f5
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax]
mov eax, dword [ebx + 0x98]
push ecx
xor ecx, ecx
push ecx
mov ecx, dword [ebp + 8]
cdq
dec ecx
push ecx
push edx
push eax
call fcn.004f9b60
push edx
mov edx, dword [edi + 0x48]
push eax
mov eax, dword [ebx + 0x3c]
push eax
call edx
mov edi, dword [ebp + 8]
add esp, 0x10
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42620a
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x42640e
mov ecx, dword [ebx + 0xcc]
movzx eax, byte [ecx + 0x1d]
mov edx, dword [ecx + 0x28]
and eax, 3
push eax
push edi
push edx
call dword [0x54c2d4]
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x426269
mov esi, dword [ebx + 0xcc]
lea eax, [esp + 0x10]
push eax
push edi
call fcn.00420be0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42640e
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x426269
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea esi, [eax + 7]
jmp 0x42640e
mov ecx, dword [eax + 4]
cmp dword [ecx], 0
mov edx, dword [ebx + 0xcc]
jne 0x426284
push eax
push edi
push edx
call fcn.00420c70
add esp, 0xc
jmp 0x426295
xor eax, eax
cmp ax, word [ecx + 0x1a]
jne 0x42628f
inc dword [edx + 0xc]
inc word [ecx + 0x1a]
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [esp + 0xc], eax
mov ecx, eax
mov eax, dword [esp + 0x1c]
test esi, esi
jne 0x42640e
cmp dword [ecx + 0x10], esi
je 0x4262c1
test eax, eax
jne 0x4262c1
inc dword [ebx + 0xb8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x10], ebx
cmp edi, 0x7fffffff
ja 0x4263bb
mov eax, dword [0x54c368]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp edi, eax
je 0x4263bb
cmp byte [ebx + 0xf], 0
jne 0x42634b
cmp dword [ebx + 0x18], edi
jb 0x42634b
cmp dword [esp + 0x1c], 0
jne 0x42634b
mov edx, dword [ebx + 0x3c]
cmp dword [edx], 0
je 0x42634b
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x42632d
cmp dword [esp + 0x18], 0
jne 0x42632d
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
call fcn.004296c0
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4263dd
inc dword [ebx + 0xbc]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00424140
mov esi, eax
add esp, 4
test esi, esi
je 0x4263b3
jmp 0x4263d9
cmp edi, dword [ebx + 0x9c]
jbe 0x42635d
mov esi, 0xd
jmp 0x4263dd
cmp dword [esp + 0x1c], 0
je 0x42639e
mov eax, dword [0x55b908]
test eax, eax
je 0x42636f
call eax
cmp edi, dword [ebx + 0x1c]
ja 0x426385
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x426385
push edi
push eax
call fcn.00420380
add esp, 8
push edi
push ebx
call fcn.00422e80
mov eax, dword [0x55b90c]
add esp, 8
test eax, eax
je 0x42639a
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 0x98]
mov eax, dword [ecx + 4]
push edx
push 0
push eax
call fcn.004f8f00
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x55279c
push 0xba46
push 0x552cc4
push 0xb
call fcn.0041a1c0
add esp, 0x10
mov esi, 0xb
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x18], 2
je 0x4263f3
push 1
mov eax, ecx
call fcn.00420a90
mov ecx, dword [esp + 0x10]
add esp, 4
mov eax, dword [ecx + 0x1c]
dec dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + 0x28]
push 1
push edx
push ecx
call dword [0x54c2d8]
add esp, 0xc
cmp dword [ebx + 0x78], 0
jne 0x426429
mov edx, dword [ebx + 0xcc]
cmp dword [edx + 0xc], 0
jne 0x426429
push ebx
call fcn.00423460
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret