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

Disassembly:
add esp, 4
sub edx, 0x174ba
pop edx
push ebx
push edx
add esp, 4
xor ebx, 0x103ba
jmp 0x406886
sub ebx, 0x10555
pop ebx
cmp dword [ebp - 0x15e4], 0
jne 0x4068a5
mov dword [ebp - 0x750], 0
jmp 0x406b61
mov ecx, dword [ebp - 0x15e4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
or al, 0x89
test dword [ebx + esi*8 - 1], ebx
call dword [edi - 0x7f]
idiv ecx
cmp al, byte [ecx]
add byte [ecx + 0x13e8bcf], al
add byte [ecx + 0x15c86ef], al
add byte [edi + 0x57], bl
push ecx
add esp, 4
and edi, 0x132d1
and edi, 0x17b99
or edi, 0x9ee2
or edi, 0x8ac1
pop edi
cmp dword [ebp - 0xca4], 0
jne 0x406901
mov dword [ebp - 0x750], 0
jmp 0x406b61
mov ecx, dword [ebp - 0xca4]
mov dword [ebp - 0x508], ecx
push edx
add edx, 0xe9f1
xor edx, 0x85b7
call 0x406926
add byte [eax + 0x32], dl
dec esi
dec esp
dec ebx
dec esi
add esp, 4
jmp 0x406932
pop edx
push ecx
push ecx
add esp, 4
add ecx, 0x11399
pop ecx
lea edx, [ebp - 0x1774]
mov dword [ebp - 0xca0], edx
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc9c], ecx
xor edx, edx
mov word [ebp - 0x214], dx
xor eax, eax
mov word [ebp - 0x110], ax
push edi
push esi
add esp, 4
add edi, 0x7ca4
or edi, 0x482
or edi, 0x12838
add edi, 0xcf7f
pop edi
push ebx
or ebx, 0x16532
and ebx, 0xacfd
or ebx, 0xc8bd
pop ebx
mov ecx, dword [ebp - 0xc9c]
mov dx, word [ecx]
mov word [ebp - 0x1036], dx
mov eax, dword [ebp - 0xc9c]
add eax, 2
mov dword [ebp - 0xc9c], eax
mov cx, word [ebp - 0x1036]
mov word [ebp - 0x214], cx
mov edx, dword [ebp - 0xca0]
mov ax, word [edx]
mov word [ebp - 0x1038], ax
mov ecx, dword [ebp - 0xca0]
add ecx, 2
mov dword [ebp - 0xca0], ecx
mov dx, word [ebp - 0x1038]
mov word [ebp - 0x110], dx
push eax
add eax, 0x275b
sub eax, 0x373d
pop eax
push esi
push esi
add esp, 4
call 0x406a18
add byte [ecx], bh
dec esp
aaa
dec ebp
inc esp
xor al, byte ss:[ebx + 0x575e04c4]
or edi, 0x13056
xor edi, 0x83da
pop edi
movzx eax, word [ebp - 0x110]
test eax, eax
jne 0x406a4d
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
sub ecx, edx
mov dword [ebp - 0x15ec], ecx
jmp 0x406ab0
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x110]
cmp eax, ecx
je 0x40696c
movzx edx, word [ebp - 0x214]
xor edx, 0x20
movzx eax, word [ebp - 0x110]
cmp edx, eax
je 0x40696c
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
cmp ecx, edx
jge 0x406a9a
mov dword [ebp - 0x15e8], 0xffffffff
jmp 0x406aa4
mov dword [ebp - 0x15e8], 1
mov eax, dword [ebp - 0x15e8]
mov dword [ebp - 0x15ec], eax
cmp dword [ebp - 0x15ec], 0
jne 0x406af9
push esi
push ecx
add esp, 4
sub esi, 0xe872
or esi, 0x1e84
and esi, 0xa350
xor esi, 0xe803
pop esi
push edi
xor edi, 0x5556
add edi, 0xaa6c
jmp 0x406aea
pop edi
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x750], ecx
jmp 0x406b61
push edx
push esi
add esp, 4
jmp 0x406b06
jmp 0x406b0e
pop edx
push eax
or eax, 0x15f92
sub eax, 0x16cb
or eax, 0x3f98
pop eax
push eax
or eax, 0xefad
pop eax
mov edx, dword [ebp - 0x508]
mov eax, dword [edx]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
cmp ecx, dword [ebp - 0xca4]
je 0x406b57
mov edx, dword [ebp - 0x508]
cmp dword [edx + 0x30], 0
jne 0x40690d
mov dword [ebp - 0x750], 0
push esi
or esi, 0x50dc
call 0x406b74
add byte [esi + 0x44], cl
dec ecx
xor eax, 0x4c4833f
pop esi
push esi
jmp 0x406b7e
pop esi
push esi
push eax
add esp, 4
sub esi, 0x13f64
pop esi
push esi
and esi, 0x18625
pop esi
cmp dword [ebp - 0x750], 0
jne 0x406bdd
push esi
or esi, 0x6eee
pop esi
push ecx
push ecx
add esp, 4
sub ecx, 0x10b6e
pop ecx
push ecx
push ecx
add esp, 4
add ecx, 0x762c
and ecx, 0x93f1
xor ecx, 0xba39
and ecx, 0x6c7f
pop ecx
mov dword [ebp - 0x79c], 0
jmp 0x407704
push ebx
push edi
add esp, 4
xor ebx, 0x3209
or ebx, 0x5b26
and ebx, 0xee3
pop ebx
push edi
sub edi, 0xa887
xor edi, 0x85d9
or edi, 0x13e2e
or edi, 0x556c
pop edi
mov eax, dword [ebp - 0x750]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x760], 0
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x15f0], edx
cmp dword [ebp - 0x15f0], 0
jne 0x406c4e
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], eax
jmp 0x406f3f
mov ecx, dword [ebp - 0x15f0]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x15f4], edx
jne 0x406c76
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], eax
jmp 0x406f3f
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x15f4]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x15f8], ecx
cmp dword [ebp - 0x15f8], 0
jne 0x406ca8
mov edx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], edx
jmp 0x406f3f
mov eax, dword [ebp - 0x320]
add eax, dword [ebp - 0x15f8]
mov dword [ebp - 0x754], eax
jne 0x406ccd
mov ecx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], ecx
jmp 0x406f3f
mov edx, dword [ebp - 0x754]
mov eax, dword [ebp - 0x320]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1964], eax
mov ecx, dword [ebp - 0x754]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1968], edx
mov eax, dword [ebp - 0x754]
mov ecx, dword [ebp - 0x320]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x196c], ecx
mov dword [ebp - 0x758], 0
jmp 0x406d27
mov edx, dword [ebp - 0x758]
add edx, 1
mov dword [ebp - 0x758], edx
mov eax, dword [ebp - 0x754]
mov ecx, dword [ebp - 0x758]
cmp ecx, dword [eax + 0x18]
jae 0x406f33
mov edx, dword [ebp - 0x758]
mov eax, dword [ebp - 0x1964]
mov ecx, dword [ebp - 0x320]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x75c], ecx
mov edx, dword [ebp - 0x758]
mov eax, dword [ebp - 0x1968]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x196c]
mov eax, dword [ebp - 0x320]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1970], eax
mov dword [ebp - 0x198], 0
jmp 0x406d97
mov ecx, dword [ebp - 0x198]
add ecx, 1
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x75c]
add edx, dword [ebp - 0x198]
movsx eax, byte [edx]
test eax, eax
je 0x406e49
mov ecx, dword [ebp - 0x198]
movsx edx, byte [ebp + ecx - 0x894]
test edx, edx
je 0x406e49
push ecx
jmp 0x406dcd
pop ecx
push eax
push edi
add esp, 4
sub eax, 0x9d5
sub eax, 0x25e5
add eax, 0x16684
call 0x406df2
add byte [ebx + 0x4f], al
cmp ecx, dword [edi + 0x4c]
cmp cl, byte [edi - 0x7d]
les eax, [eax + ebx*2]
mov eax, dword [ebp - 0x75c]
add eax, dword [ebp - 0x198]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x198]
movsx eax, byte [ebp + edx - 0x894]
cmp ecx, eax
je 0x406e3b
mov ecx, dword [ebp - 0x75c]
invalid
invalid
invalid