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

Disassembly:
mov dword [ebp - 0x844], edx
push edx
push esi
add esp, 4
sub edx, 0x11421
xor edx, 0xbbff
and edx, 0x3e05
pop edx
push ebx
xor ebx, 0xf2dc
xor ebx, 0x7545
xor ebx, 0x1b68
or ebx, 0xd339
pop ebx
cmp dword [ebp - 0x844], 0
jne 0x406b10
mov dword [ebp - 0x148], 0
jmp 0x406da1
mov eax, dword [ebp - 0x844]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x664], edx
invalid
call dword [esi + 0x51]
add esp, 4
sub esi, 0xe537
jmp 0x406b33
pop esi
push edx
and edx, 0x5f2d
pop edx
push ebx
push edi
add esp, 4
or ebx, 0x12cbc
and ebx, 0xf829
xor ebx, 0xcd39
pop ebx
cmp dword [ebp - 0x664], 0
jne 0x406b6c
mov dword [ebp - 0x148], 0
jmp 0x406da1
mov eax, dword [ebp - 0x664]
mov dword [ebp - 0x278], eax
push ebx
push ecx
add esp, 4
call 0x406b8c
add byte [ebx + 0x50], cl
cmp al, byte [ebx + 0x3b]
inc edi
dec ebx
cmp dh, byte [ebx + eax*4]
les eax, [ebx + ebx*2]
push ecx
sub ecx, 0x10f3b
pop ecx
push esi
push eax
add esp, 4
sub esi, 0x14c0b
sub esi, 0x162ac
pop esi
lea ecx, [ebp - 0xadc]
mov dword [ebp - 0x660], ecx
mov edx, dword [ebp - 0x278]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x65c], eax
xor ecx, ecx
mov word [ebp - 0xe4], cx
xor edx, edx
mov word [ebp - 0x6c], dx
push edx
push esi
add esp, 4
add edx, 0xfa5f
jmp 0x406be5
or edx, 0x26c8
pop edx
push esi
and esi, 0xb141
pop esi
push edx
push edx
add esp, 4
and edx, 0x172c1
sub edx, 0x7a30
pop edx
mov eax, dword [ebp - 0x65c]
mov cx, word [eax]
mov word [ebp - 0x7fa], cx
mov edx, dword [ebp - 0x65c]
add edx, 2
mov dword [ebp - 0x65c], edx
mov ax, word [ebp - 0x7fa]
mov word [ebp - 0xe4], ax
mov ecx, dword [ebp - 0x660]
mov dx, word [ecx]
mov word [ebp - 0x7fc], dx
mov eax, dword [ebp - 0x660]
add eax, 2
mov dword [ebp - 0x660], eax
mov cx, word [ebp - 0x7fc]
mov word [ebp - 0x6c], cx
push ebx
push eax
add esp, 4
sub ebx, 0xf901
jmp 0x406c70
pop ebx
push eax
push eax
add esp, 4
xor eax, 0x3fd8
and eax, 0x400a
xor eax, 0x2ab0
xor eax, 0xe52
pop eax
movzx edx, word [ebp - 0x6c]
test edx, edx
jne 0x406cac
movzx eax, word [ebp - 0xe4]
movzx ecx, word [ebp - 0x6c]
sub eax, ecx
mov dword [ebp - 0x84c], eax
jmp 0x406cf0
movzx edx, word [ebp - 0xe4]
movzx eax, word [ebp - 0x6c]
cmp edx, eax
je 0x406bd4
movzx ecx, word [ebp - 0xe4]
movzx edx, word [ebp - 0x6c]
cmp ecx, edx
jge 0x406cda
mov dword [ebp - 0x848], 0xffffffff
jmp 0x406ce4
mov dword [ebp - 0x848], 1
mov eax, dword [ebp - 0x848]
mov dword [ebp - 0x84c], eax
cmp dword [ebp - 0x84c], 0
jne 0x406d39
push edi
push edx
add esp, 4
call 0x406d0a
add byte [esi], dh
cmp byte [ecx + 0x4e], cl
inc esi
add esp, 4
sub edi, 0x14d8e
xor edi, 0xa552
call 0x406d27
add byte [edx + 0x4e], cl
dec ebx
dec ebp
inc ecx
cmp byte [edx], bh
cmp al, byte [ebx - 0x74a0fb3c]
lea ecx, [eax - 0x76000003]
lea edi, [eax - 0x14000002]
push 0xc7e28152
call 0xeac16d42
in al, 0x51
add dword [eax], eax
push edx
and edx, 0xe8c7
sub edx, 0x151e4
and edx, 0x6e09
pop edx
push edx
push ebx
add esp, 4
call 0x406d61
add byte [edx + 0x43], cl
inc eax
dec eax
cmp eax, 0x4f41384b
add esp, 4
add edx, 0x12dab
pop edx
mov edx, dword [ebp - 0x278]
mov eax, dword [edx]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [ebp - 0x664]
je 0x406d97
mov edx, dword [ebp - 0x278]
cmp dword [edx + 0x30], 0
jne 0x406b78
mov dword [ebp - 0x148], 0
push edi
and edi, 0x2cd
call 0x406db7
add byte [eax + 0x48], dl
inc ecx
cmp byte [ebp + 0x50], al
inc eax
aas
add esp, 4
and edi, 0x4d19
pop edi
push esi
push ecx
add esp, 4
and esi, 0x15bb7
or esi, 0x2654
pop esi
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1a4], ecx
push ecx
push edx
add esp, 4
or ecx, 0x136a2
jmp 0x406df2
pop ecx
push esi
push ecx
add esp, 4
jmp 0x406e01
pop esi
push edx
push esi
add esp, 4
sub edx, 0x715e
add edx, 0x11ca8
pop edx
mov dword [ebp - 0x3dc], 0
mov edx, dword [ebp - 0x1a4]
mov dword [ebp - 0x850], edx
cmp dword [ebp - 0x850], 0
jne 0x406e44
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x27c], eax
jmp 0x40710a
mov ecx, dword [ebp - 0x850]
mov edx, dword [ebp - 0x1a4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x854], edx
jne 0x406e6c
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x27c], eax
jmp 0x40710a
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x854]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x858], ecx
cmp dword [ebp - 0x858], 0
jne 0x406e9e
mov edx, dword [ebp - 0x3dc]
mov dword [ebp - 0x27c], edx
jmp 0x40710a
mov eax, dword [ebp - 0x1a4]
add eax, dword [ebp - 0x858]
mov dword [ebp - 0x3d0], eax
jne 0x406ec3
mov ecx, dword [ebp - 0x3dc]
mov dword [ebp - 0x27c], ecx
jmp 0x40710a
mov edx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x1a4]
add eax, dword [edx + 0x20]
mov dword [ebp - 0xe8c], eax
mov ecx, dword [ebp - 0x3d0]
mov edx, dword [ebp - 0x1a4]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0xe90], edx
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x1a4]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0xe94], ecx
mov dword [ebp - 0x3d4], 0
jmp 0x406f1d
mov edx, dword [ebp - 0x3d4]
add edx, 1
mov dword [ebp - 0x3d4], edx
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3d4]
cmp ecx, dword [eax + 0x18]
jae 0x4070fe
mov edx, dword [ebp - 0x3d4]
mov eax, dword [ebp - 0xe8c]
mov ecx, dword [ebp - 0x1a4]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x3d8], ecx
mov edx, dword [ebp - 0x3d4]
mov eax, dword [ebp - 0xe90]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0xe94]
mov eax, dword [ebp - 0x1a4]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0xe98], eax
mov dword [ebp - 0xc], 0
jmp 0x406f84
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x3d8]
add edx, dword [ebp - 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x407020
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ebp + ecx - 0x530]
test edx, edx
je 0x407020
push eax
push edx
add esp, 4
add eax, 0xe0d9
pop eax
push eax
xor eax, 0x1107c
or eax, 0x2f16
jmp 0x406fc6
pop eax
push ecx
push edx
add esp, 4
add ecx, 0xb018
or ecx, 0x16932
pop ecx
mov eax, dword [ebp - 0x3d8]
add eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0xc]
movsx eax, byte [ebp + edx - 0x530]
cmp ecx, eax
je 0x407012
mov ecx, dword [ebp - 0x3d8]
add ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0xc]
movsx ecx, byte [ebp + eax - 0x530]
cmp edx, ecx
jne 0x407019
jmp 0x406f7b
jmp 0x407020
push eax
call 0x40702f
add byte [esi + 0x47], al
cmp dword [edx + 0x35], eax
cmp byte ds:[edx - 0x7d], al
les eax, [eax + ebx*2]
push edx
add edx, 0x16b54
jmp 0x40703f
pop edx
push eax
push edi
add esp, 4
add eax, 0x36e2
sub eax, 0x5305
pop eax
mov edx, dword [ebp - 0x3d8]
add edx, dword [ebp - 0xc]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ebp + ecx - 0x530]
cmp eax, edx
jne 0x407079
mov dword [ebp - 0x668], 0
jmp 0x4070e2
push esi
call 0x407089
add byte [eax + 0x48], cl
cmp dword [edx + 0x43], eax
inc eax
dec esi
inc ecx
inc edi
add esp, 4
pop esi
push ecx
push edx
add esp, 4
and ecx, 0x1381e
add ecx, 0x2d71
sub ecx, 0x3f37
xor ecx, 0x936f
pop ecx
mov eax, dword [ebp - 0x3d8]
add eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0xc]
movsx eax, byte [ebp + edx - 0x530]
or eax, 0x20
cmp ecx, eax
jge 0x4070d8
mov dword [ebp - 0x668], 0xffffffff
jmp 0x4070e2
mov dword [ebp - 0x668], 1
cmp dword [ebp - 0x668], 0
jne 0x4070f9
mov ecx, dword [ebp - 0xe98]
mov dword [ebp - 0x27c], ecx
jmp 0x40710a
jmp 0x406f0e
mov edx, dword [ebp - 0x3dc]
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x560], eax
push edi
push edi
add esp, 4
jmp 0x407124
pop edi
push ecx
push edx
add esp, 4
sub ecx, 0x1106a
jmp 0x407139
pop ecx
push esi
and esi, 0xa504
sub esi, 0x55e4
pop esi
mov ecx, dword [ebp - 0x560]
mov dword [ebp - 0xe9c], ecx
lea edx, [ebp - 0x66c]
push edx
push 0x40
mov eax, dword [ebp - 0x85c]
push eax
mov ecx, dword [ebp - 0x1d0]
push ecx
call dword [ebp - 0xe9c]
test eax, eax
jne 0x4071bb
push ecx
push esi
add esp, 4
call 0x407189
add byte [0x343f504c], dh
dec ebx
inc edx
inc esi
aaa
add esp, 4
sub ecx, 0xe48c
pop ecx
push edi
xor edi, 0xeeb6
and edi, 0x23e5
sub edi, 0x4c2e
pop edi
mov edx, dword [ebp - 0x3e4]
mov dword [ebp - 0xea0], edx
push 0
call dword [ebp - 0xea0]
mov eax, dword [ebp - 0xea4]
mov dword [ebp - 0x3e0], eax
jmp 0x4071d8
mov ecx, dword [ebp - 0x3e0]
add ecx, 1
mov dword [ebp - 0x3e0], ecx
mov edx, dword [ebp - 0x3e0]
cmp edx, dword [ebp - 0x564]
jae 0x407234
push edx
push edi
add esp, 4
call 0x4071f8
add byte [edi + 0x4c], cl
push eax
aas
cmp al, byte [ebx + 0x4e]
add esp, 4
pop edx
push ecx
and ecx, 0x316d
xor ecx, 0x98f7
pop ecx
push esi
push ecx
add esp, 4
jmp 0x407217
pop esi
movzx eax, byte [ebp - 0x1c1]
mov ecx, dword [ebp - 0x3e0]
movsx edx, byte [ecx]
sub edx, eax
mov eax, dword [ebp - 0x3e0]
mov byte [eax], dl
jmp 0x4071c9
mov ecx, dword [ebp - 0x560]
mov dword [ebp - 0xea8], ecx
lea edx, [ebp - 0x66c]
push edx
mov eax, dword [ebp - 0x66c]
push eax
mov ecx, dword [ebp - 0x85c]
push ecx
mov edx, dword [ebp - 0x1d0]
push edx
call dword [ebp - 0xea8]
test eax, eax
jne 0x4072ac
push ecx
sub ecx, 0xab2c
sub ecx, 0x180c0
and ecx, 0xc217
or ecx, 0x9c11
pop ecx
push eax
push ecx
add esp, 4
add eax, 0x96cb
pop eax
push ecx
push ebx
add esp, 4
xor ecx, 0x2c27
pop ecx
mov eax, dword [ebp - 0x3e4]
mov dword [ebp - 0xeac], eax
push 0
call dword [ebp - 0xeac]
push ebx
or ebx, 0xc50d
xor ebx, 0x5dcd
pop ebx
push edi
push edx
add esp, 4
invalid