Function at 0x402190
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [esp], 0x40
mov dword [esp + 0x10], ecx
call fcn.004bcd80
mov ebx, eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x64]
lea esi, [ebx + 0x18]
mov dword [ebx + 0x10], esi
mov dword [esp + 0x28], esi
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [eax + 8]
cmp ecx, edx
je 0x402ed0
mov dword [ebx + 0x10], ecx
mov edi, dword [eax + 8]
mov dword [ebx + 0x18], edi
mov ebp, dword [eax + 4]
mov esi, dword [esp + 0x10]
xor edi, edi
mov dword [ebx + 0x14], ebp
add esi, 4
mov dword [eax], edx
xor edx, edx
cmp esi, dword [esp + 0x60]
mov dword [eax + 4], 0
mov word [eax + 8], dx
lea eax, [ebx + 0x30]
mov dword [ebx + 0x2c], 0
mov word [ebx + 0x30], di
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], eax
mov dword [ebx + 0x28], eax
je 0x402cd0
mov ebp, dword [esp + 0x60]
mov edi, dword [ebx + 0x14]
mov eax, dword [esp + 0x60]
mov edx, dword [ebp + 0x14]
mov ebp, dword [ebx + 0x10]
mov esi, dword [eax + 0x10]
mov dword [esp + 0x14], edi
cmp edi, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ebp
cmovbe edx, edi
mov dword [esp + 0x34], esi
test edx, edx
mov dword [esp + 0x2c], edx
sete cl
cmp esi, ebp
sete dl
or cl, dl
mov byte [esp + 0x20], cl
jne 0x402410
test ebp, ebp
je 0x402ef0
test esi, esi
je 0x402a90
mov eax, esi
mov edx, ebp
mov esi, dword [esp + 0x2c]
lea edi, [esi - 1]
movzx esi, word [edx]
mov ecx, edi
and ecx, 7
mov dword [esp + 0x3c], ecx
movzx ecx, word [eax]
cmp si, cx
jne 0x402615
add edx, 2
add eax, 2
test edi, edi
je 0x402410
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x40237b
cmp esi, 1
je 0x40235d
cmp esi, 2
je 0x402345
cmp esi, 3
je 0x40232d
cmp esi, 4
je 0x402315
cmp esi, 5
je 0x4022fd
cmp esi, 6
je 0x4022e5
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402615
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402615
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402615
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402615
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402615
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402615
movzx esi, word [edx]
movzx ecx, word [eax]
cmp si, cx
jne 0x402615
add edx, 2
add eax, 2
sub edi, 1
je 0x402410
movzx esi, word [edx]
movzx ecx, word [eax]
cmp si, cx
jne 0x402615
movzx esi, word [edx + 2]
movzx ecx, word [eax + 2]
cmp si, cx
jne 0x402615
movzx esi, word [edx + 4]
movzx ecx, word [eax + 4]
cmp si, cx
jne 0x402615
movzx esi, word [edx + 6]
movzx ecx, word [eax + 6]
cmp si, cx
jne 0x402615
movzx esi, word [edx + 8]
movzx ecx, word [eax + 8]
cmp si, cx
jne 0x402615
movzx esi, word [edx + 0xa]
movzx ecx, word [eax + 0xa]
cmp si, cx
jne 0x402615
movzx esi, word [edx + 0xc]
movzx ecx, word [eax + 0xc]
cmp si, cx
jne 0x402615
movzx esi, word [edx + 0xe]
movzx ecx, word [eax + 0xe]
cmp si, cx
jne 0x402615
add edx, 0x10
add eax, 0x10
sub edi, 8
jne 0x40237b
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
js 0x402620
cmp byte [esp + 0x20], 0
jne 0x4025e1
mov edx, dword [esp + 0x34]
test edx, edx
je 0x402fa7
test ebp, ebp
je 0x4025ef
mov eax, ebp
mov edi, dword [esp + 0x2c]
movzx ecx, word [eax]
sub edi, 1
mov esi, edi
and esi, 7
mov dword [esp + 0x20], esi
movzx esi, word [edx]
cmp si, cx
jne 0x402a80
add edx, 2
add eax, 2
test edi, edi
je 0x4025e1
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40254c
cmp ecx, 1
je 0x40252e
cmp ecx, 2
je 0x402516
cmp ecx, 3
je 0x4024fe
cmp ecx, 4
je 0x4024e6
cmp ecx, 5
je 0x4024ce
cmp ecx, 6
je 0x4024b6
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402a80
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402a80
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402a80
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402a80
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402a80
movzx esi, word [edx]
movzx ecx, word [eax]
add edx, 2
add eax, 2
sub edi, 1
cmp si, cx
jne 0x402a80
movzx esi, word [edx]
movzx ecx, word [eax]
cmp si, cx
jne 0x402a80
add edx, 2
add eax, 2
sub edi, 1
je 0x4025e1
movzx esi, word [edx]
movzx ecx, word [eax]
cmp si, cx
jne 0x402a80
movzx esi, word [edx + 2]
movzx ecx, word [eax + 2]
cmp si, cx
jne 0x402a80
movzx esi, word [edx + 4]
movzx ecx, word [eax + 4]
cmp si, cx
jne 0x402a80
movzx esi, word [edx + 6]
movzx ecx, word [eax + 6]
cmp si, cx
jne 0x402a80
movzx esi, word [edx + 8]
movzx ecx, word [eax + 8]
cmp si, cx
jne 0x402a80
movzx esi, word [edx + 0xa]
movzx ecx, word [eax + 0xa]
cmp si, cx
jne 0x402a80
movzx esi, word [edx + 0xc]
movzx ecx, word [eax + 0xc]
cmp si, cx
jne 0x402a80
movzx esi, word [edx + 0xe]
movzx ecx, word [eax + 0xe]
cmp si, cx
jne 0x402a80
add edx, 0x10
add eax, 0x10
sub edi, 8
jne 0x40254c
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x18], eax
js 0x402a90
mov esi, dword [esp + 0x60]
cmp dword [esp + 0x28], ebp
je 0x402601
mov dword [esp], ebp
call fcn.004bcd30
mov dword [esp], ebx
call fcn.004bcd30
add esp, 0x4c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp cx, si
jbe 0x402429
nop
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 0xc]
cmp esi, dword [esp + 0x60]
je 0x402f40
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call fcn.004b49f0
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [eax + 0x14]
mov esi, dword [edx + 0x10]
cmp ecx, eax
mov edi, eax
mov dword [esp + 0x18], eax
cmovbe edi, ecx
cmp ebp, esi
je 0x402820
test edi, edi
je 0x402820
test esi, esi
je 0x402f05
test ebp, ebp
je 0x402c90
sub edi, 1
movzx ecx, word [esi]
mov eax, edi
and eax, 7
mov dword [esp + 0x20], eax
movzx eax, word [ebp]
cmp cx, ax
jne 0x402f50
add esi, 2
add ebp, 2
test edi, edi
je 0x402820
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x402785
cmp ecx, 1
je 0x402766
cmp ecx, 2
je 0x40274d
cmp ecx, 3
je 0x402734
cmp ecx, 4
je 0x40271b
cmp ecx, 5
je 0x402702
cmp ecx, 6
je 0x4026e9
movzx ecx, word [esi]
movzx eax, word [ebp]
add esi, 2
add ebp, 2
sub edi, 1
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi]
movzx eax, word [ebp]
add esi, 2
add ebp, 2
sub edi, 1
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi]
movzx eax, word [ebp]
add esi, 2
add ebp, 2
sub edi, 1
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi]
movzx eax, word [ebp]
add esi, 2
add ebp, 2
sub edi, 1
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi]
movzx eax, word [ebp]
add esi, 2
add ebp, 2
sub edi, 1
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi]
movzx eax, word [ebp]
add esi, 2
add ebp, 2
sub edi, 1
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi]
movzx eax, word [ebp]
cmp cx, ax
jne 0x402f50
add esi, 2
add ebp, 2
sub edi, 1
je 0x402820
movzx ecx, word [esi]
movzx eax, word [ebp]
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi + 2]
movzx eax, word [ebp + 2]
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi + 4]
movzx eax, word [ebp + 4]
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi + 6]
movzx eax, word [ebp + 6]
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi + 8]
movzx eax, word [ebp + 8]
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi + 0xa]
movzx eax, word [ebp + 0xa]
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi + 0xc]
movzx eax, word [ebp + 0xc]
cmp cx, ax
jne 0x402f50
movzx ecx, word [esi + 0xe]
movzx eax, word [ebp + 0xe]
cmp cx, ax
jne 0x402f50
add esi, 0x10
add ebp, 0x10
sub edi, 8
jne 0x402785
nop
lea esi, [esi]
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x18], ebp
jns 0x402c90
mov edi, dword [edx + 0xc]
test edi, edi
je 0x402ec3
mov edx, dword [esp + 0x60]
mov esi, edx
nop
cmp dword [esp + 0x1c], edx
je 0x402f60
test esi, esi
jne 0x402f60
mov edi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], ecx
mov eax, dword [edx + 0x14]
mov edi, dword [esp + 0x14]
mov esi, dword [edx + 0x10]
cmp eax, edi
mov dword [esp + 0x18], eax
cmovbe edi, eax
test edi, edi
je 0x402a40
mov ebp, dword [esp + 0x30]
cmp esi, ebp
je 0x402a40
test ebp, ebp
je 0x402f23
test esi, esi
je 0x402fa0
sub edi, 1
movzx eax, word [esi]
mov ecx, edi
and ecx, 7
mov dword [esp + 0x20], ecx
movzx ecx, word [ebp]
cmp cx, ax
jne 0x402f70
add ebp, 2
add esi, 2
test edi, edi
je 0x402a40
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4029a8
cmp eax, 1
je 0x402989
cmp eax, 2
je 0x402970
cmp eax, 3
je 0x402957
cmp eax, 4
je 0x40293e
cmp eax, 5
je 0x402925
cmp eax, 6
je 0x40290c
movzx ecx, word [ebp]
movzx eax, word [esi]
add ebp, 2
add esi, 2
sub edi, 1
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp]
movzx eax, word [esi]
add ebp, 2
add esi, 2
sub edi, 1
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp]
movzx eax, word [esi]
add ebp, 2
add esi, 2
sub edi, 1
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp]
movzx eax, word [esi]
add ebp, 2
add esi, 2
sub edi, 1
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp]
movzx eax, word [esi]
add ebp, 2
add esi, 2
sub edi, 1
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp]
movzx eax, word [esi]
add ebp, 2
add esi, 2
sub edi, 1
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp]
movzx eax, word [esi]
cmp cx, ax
jne 0x402f70
add ebp, 2
add esi, 2
sub edi, 1
je 0x402a40
movzx ecx, word [ebp]
movzx eax, word [esi]
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp + 2]
movzx eax, word [esi + 2]
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp + 4]
movzx eax, word [esi + 4]
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp + 6]
movzx eax, word [esi + 6]
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp + 8]
movzx eax, word [esi + 8]
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp + 0xa]
movzx eax, word [esi + 0xa]
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp + 0xc]
movzx eax, word [esi + 0xc]
cmp cx, ax
jne 0x402f70
movzx ecx, word [ebp + 0xe]
movzx eax, word [esi + 0xe]
cmp cx, ax
jne 0x402f70
add ebp, 0x10
add esi, 0x10
sub edi, 8
jne 0x4029a8
nop
mov edi, dword [esp + 0x14]
sub edi, dword [esp + 0x18]
shr edi, 0x1f
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0xc], esi
call fcn.004b5d80
mov edx, dword [esp + 0x10]
mov eax, ebx
add dword [edx + 0x14], 1
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp cx, si
jbe 0x4025ef
lea esi, [esi]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x10]
cmp edx, dword [esp + 0x60]
je 0x402860
mov edi, dword [esp + 0x60]
mov dword [esp], edi
call fcn.004b4a40
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + 0x14]
mov esi, eax
cmp ecx, edi
mov dword [esp + 0x18], edi
cmovbe edi, ecx
mov ecx, dword [eax + 0x10]
test edi, edi
je 0x402c65
cmp ebp, ecx
je 0x402c65
test ebp, ebp
je 0x402f14
test ecx, ecx
je 0x402c90
sub edi, 1
movzx edx, word [ebp]
mov eax, edi
and eax, 7
mov dword [esp + 0x20], eax
movzx eax, word [ecx]
cmp dx, ax
jne 0x402c82
add ebp, 2
add ecx, 2
test edi, edi
je 0x402c65
mov edx, dword [esp + 0x20]
test edx, edx
je 0x402bef
cmp edx, 1
je 0x402bd4
cmp edx, 2
je 0x402bbb
cmp edx, 3
je 0x402ba2
cmp edx, 4
je 0x402b89
cmp edx, 5
je 0x402b70
cmp edx, 6
je 0x402b57
movzx edx, word [ebp]
movzx eax, word [ecx]
add ebp, 2
add ecx, 2
sub edi, 1
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp]
movzx eax, word [ecx]
add ebp, 2
add ecx, 2
sub edi, 1
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp]
movzx eax, word [ecx]
add ebp, 2
add ecx, 2
sub edi, 1
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp]
movzx eax, word [ecx]
add ebp, 2
add ecx, 2
sub edi, 1
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp]
movzx eax, word [ecx]
add ebp, 2
add ecx, 2
sub edi, 1
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp]
movzx eax, word [ecx]
add ebp, 2
add ecx, 2
sub edi, 1
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp]
movzx eax, word [ecx]
cmp dx, ax
jne 0x402c82
add ebp, 2
add ecx, 2
sub edi, 1
je 0x402c65
movzx edx, word [ebp]
movzx eax, word [ecx]
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp + 2]
movzx eax, word [ecx + 2]
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp + 4]
movzx eax, word [ecx + 4]
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp + 6]
movzx eax, word [ecx + 6]
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp + 8]
movzx eax, word [ecx + 8]
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp + 0xa]
movzx eax, word [ecx + 0xa]
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp + 0xc]
movzx eax, word [ecx + 0xc]
cmp dx, ax
jne 0x402c82
movzx edx, word [ebp + 0xe]
movzx eax, word [ecx + 0xe]
cmp dx, ax
jne 0x402c82
add ebp, 0x10
add ecx, 0x10
sub edi, 8
jne 0x402bef
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x14], edi
jns 0x402c90
mov ecx, dword [esp + 0x60]
mov ebp, dword [ecx + 0xc]
test ebp, ebp
je 0x402f80
mov edx, esi
jmp 0x402ca5
cmp ax, dx
ja 0x402c6f
mov esi, esi
lea edi, [edi]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [esp], edx
call fcn.004af5f0
sub esp, 4
mov esi, eax
test edx, edx
jne 0x402840
mov ebp, dword [ebx + 0x28]
cmp dword [esp + 0x38], ebp
je 0x402cbe
mov dword [esp], ebp
call fcn.004bcd30
mov ebp, dword [ebx + 0x10]
jmp 0x4025f3
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x14]
test ecx, ecx
je 0x402c90
mov edx, dword [edx + 0x10]
mov ebp, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
mov dword [esp + 0x18], ebp
cmp ecx, ebp
mov dword [esp + 0x14], ecx
cmovbe ebp, ecx
cmp edi, esi
je 0x402eb5
test ebp, ebp
je 0x402eb5
test esi, esi
je 0x402f2e
test edi, edi
je 0x402c90
sub ebp, 1
movzx ecx, word [esi]
mov eax, ebp
and eax, 7
mov dword [esp + 0x20], eax
movzx eax, word [edi]
cmp cx, ax
jne 0x402f87
add esi, 2
add edi, 2
test ebp, ebp
je 0x402eb5
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x402e20
cmp ecx, 1
je 0x402e02
cmp ecx, 2
je 0x402dea
cmp ecx, 3
je 0x402dd2
cmp ecx, 4
je 0x402dba
cmp ecx, 5
je 0x402da2
cmp ecx, 6
je 0x402d8a
movzx ecx, word [esi]
movzx eax, word [edi]
add esi, 2
add edi, 2
sub ebp, 1
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi]
movzx eax, word [edi]
add esi, 2
add edi, 2
sub ebp, 1
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi]
movzx eax, word [edi]
add esi, 2
add edi, 2
sub ebp, 1
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi]
movzx eax, word [edi]
add esi, 2
add edi, 2
sub ebp, 1
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi]
movzx eax, word [edi]
add esi, 2
add edi, 2
sub ebp, 1
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi]
movzx eax, word [edi]
add esi, 2
add edi, 2
sub ebp, 1
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi]
movzx eax, word [edi]
cmp cx, ax
jne 0x402f87
add esi, 2
add edi, 2
sub ebp, 1
je 0x402eb5
movzx ecx, word [esi]
movzx eax, word [edi]
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi + 2]
movzx eax, word [edi + 2]
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi + 4]
movzx eax, word [edi + 4]
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi + 6]
movzx eax, word [edi + 6]
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi + 8]
movzx eax, word [edi + 8]
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi + 0xa]
movzx eax, word [edi + 0xa]
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi + 0xc]
movzx eax, word [edi + 0xc]
cmp cx, ax
jne 0x402f87
movzx ecx, word [esi + 0xe]
movzx eax, word [edi + 0xe]
cmp cx, ax
jne 0x402f87
add esi, 0x10
add edi, 0x10
sub ebp, 8
jne 0x402e20
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x14], esi
jns 0x402c90
xor esi, esi
jmp 0x402840
mov ebp, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], ecx
jmp 0x4021d6
mov edi, dword [esp + 0x34]
test edi, edi
jne 0x402620
xor eax, eax
xor edx, edx
jmp 0x40226e
test ebp, ebp
jne 0x40282e
xor esi, esi
jmp 0x402674
test ecx, ecx
jne 0x402c6f
xor ebp, ebp
jmp 0x402ae2
test esi, esi
jne 0x402f60
xor ebp, ebp
jmp 0x402897
xor esi, esi
test edi, edi
je 0x402d17
jmp 0x402840
mov edx, dword [esp + 0x60]
jmp 0x402840
cmp ax, cx
jbe 0x402c90
jmp 0x40282e
mov edi, 1
jmp 0x402a4b
cmp ax, cx
seta cl
movzx edi, cl
jmp 0x402a4b
mov edx, ecx
jmp 0x402860
cmp ax, cx
jbe 0x402c90
xor esi, esi
jmp 0x402840
xor edi, edi
jmp 0x402a4b
test ebp, ebp
jne 0x402a90
xor eax, eax
xor edx, edx
jmp 0x40243f