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

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [ebp + 8]
mov dword [esp + 0xc0], 0x3650d3c8
mov word [esp + 0x5e], 0xebd2
mov byte [esp + 0xb7], 0xb0
mov cl, byte [esp + 0xb7]
mov dl, cl
add dl, 0xa7
mov esi, dword [ebp + 8]
mov byte [esp + 0xb7], dl
mov edi, esp
mov dword [edi], esi
mov dword [esp + 0x34], eax
mov byte [esp + 0x33], cl
call fcn.10006280
mov byte [esp + 0x32], al
call fcn.100058c0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
mov edi, eax
imul edi, esi
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x2c]
mul ebx
add edx, edi
add edx, edi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0x40]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 0x28], esi
call fcn.10004870
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
add eax, 0x18
movzx edx, word [esp + 0xb4]
mov cx, dx
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb0], 0x52e428ef
mov edi, dword [esp + 0x70]
mov ebx, dword [edi + 0x60]
mov dword [esp + 0xb0], esi
add eax, ebx
mov dword [esp + 0x78], eax
not edx
mov ax, dx
mov word [esp + 0xb4], ax
imul edx, esi, 0xc0da444
mov dword [esp + 0xb0], edx
mov al, byte [esp + 0x33]
or al, 0x3b
mov byte [esp + 0xb7], al
mov edx, dword [edi + 0x64]
mov dword [esp + 0x38], edx
mov dword [esp + 0x68], 0xffffffff
mov al, 0xc7
mov ah, byte [esp + 0x33]
sub al, ah
mov byte [esp + 0xb7], al
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
add ebx, ebx
mov eax, dword [esp + 0x28]
adc eax, eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], ebx
mov eax, dword [edx + 0x20]
imul edx, esi, 0x3d2a4e80
mov dword [esp + 0xb0], edx
add edi, eax
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x40]
mov word [esp + 0xb4], cx
add edx, dword [eax + 0x24]
mov dword [esp + 0x8c], edx
mov di, cx
sub di, 0x157c
mov word [esp + 0xb4], di
mov dword [esp + 0x80], 0
mov dword [esp + 0x24], esi
mov word [esp + 0x22], cx
jmp 0x10006cad
mov ax, 0xef22
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x18]
mov dx, word [esp + 0x96]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x24]
xor ecx, 0x4a5e4fb3
mov dword [esp + 0xb0], ecx
cmp ax, dx
jb 0x100068ec
jmp 0x100068ec
mov eax, dword [esp + 0x2c]
or eax, 0x6c7fe47
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], eax
mov dx, word [esp + 0x22]
add dx, 0x4d75
mov eax, dword [esp + 0x88]
mov word [esp + 0xb4], dx
add eax, 1
mov dword [esp + 0x88], eax
jmp 0x100069cf
mov eax, 0x3650d3c8
mov ecx, dword [esp + 0x24]
and ecx, 0x5544a3d3
mov dword [esp + 0xb0], ecx
mov dx, word [esp + 0x22]
sub dx, 0x9007
sub eax, dword [esp + 0xc0]
mov word [esp + 0xb4], dx
cmp dword [esp + 0x58], eax
je 0x10006a4b
jmp 0x100069ac
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
imul eax, ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, edx
mul edx
mov esi, dword [esp + 0x1c]
add edx, esi
add edx, esi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0x8c]
add eax, 2
mov byte [esp + 0xb7], 1
mov dword [esp + 0x8c], eax
jmp 0x100069fd
mov eax, dword [esp + 0x44]
mov cl, byte [esp + 0x33]
mov byte [esp + 0xb7], cl
cmp eax, dword [esp + 0x74]
jb 0x10006ba0
jmp 0x10006922
mov eax, dword [esp + 0x8c]
movzx eax, word [eax]
mov cl, byte [esp + 0x33]
or cl, cl
mov byte [esp + 0xb7], cl
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc0]
mov cx, word [esp + 0x22]
sub cx, 0xb90c
mov word [esp + 0xb4], cx
mov edx, dword [esp + 0x68]
xor eax, 0xc9af2c37
mov cx, word [esp + 0x22]
or cx, 0x8cb6
mov word [esp + 0xb4], cx
cmp edx, eax
je 0x10006c8a
jmp 0x10006abb
mov eax, dword [esp + 0x2c]
add eax, 0xa3ed9ac8
mov ecx, dword [esp + 0x28]
adc ecx, 0xffffffff
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0x58]
mov dl, 0x81
mov dh, byte [esp + 0x33]
mov dword [esp + 0x18], eax
mov al, dh
mul dl
mov byte [esp + 0xb7], al
mov ecx, dword [esp + 0x18]
cmp ecx, 0
jne 0x10006907
jmp 0x100068a1
mov ax, word [esp + 0x22]
add ax, 0x558
mov word [esp + 0xb4], ax
jmp 0x10006820
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
jmp 0x10006a9d
mov al, 0x30
mov cl, byte [esp + 0x33]
mov byte [esp + 0x17], al
mov al, cl
mov dl, byte [esp + 0x17]
mul dl
mov esi, dword [esp + 0x88]
mov byte [esp + 0xb7], al
cmp esi, 0x20
jb 0x10006c42
jmp 0x10006963
mov eax, dword [esp + 0xc0]
mov ecx, 0x2d360de6
mov edx, dword [esp + 0x24]
sub ecx, edx
mov dword [esp + 0xb0], ecx
add eax, 0xc9af2c39
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
add eax, dword [esp + 0x80]
mov dword [esp + 0x80], eax
mov dword [esp + 0xb0], edx
jmp 0x10006cad
jmp 0x10006963
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x84], eax
mov byte [esp + 0xb7], 0x9e
mov eax, dword [esp + 0x84]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
xor edx, edx
mov esi, 0x1a50292b
sub esi, eax
sbb edx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
jb 0x100069c2
jmp 0x10006a9d
mov eax, dword [esp + 0x4c]
lea esp, [ebp - 0xc]
pop esi
pop ebx
pop edi
pop ebp
ret
cmp word [esp + 0x5e], 0xaaa3
ja 0x10006863
jmp 0x10006c8a
mov al, 0x74
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xbc], edx
mov esi, dword [esp + 0x40]
mov bx, word [esp + 0x22]
mov di, bx
imul edi, edi
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x1c]
add esi, ecx
mov word [esp + 0xb4], di
mov dword [esp + 0x60], esi
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x2c]
add esi, 0x5c143eb0
adc edx, 0
mov edi, dword [esp + 0x68]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], esi
mov dword [esp + 0xa0], 0x35af8630
mov dword [esp + 0xa4], 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0xbc], edx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xb8], esi
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edx
mov ecx, dword [ecx + edi*4]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
sub edx, edx
mov dword [esp + 0xb0], edx
mov dword [esp + 0x54], ecx
mov byte [esp + 0xaf], 0xe5
cmp al, byte [esp + 0xaf]
jne 0x10006a50
jmp 0x10006922
mov cx, word [esp + 0x22]
mov ax, cx
xor eax, 0x774
mov dx, ax
mov word [esp + 0xb4], dx
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
add esi, 0x431befb8
mov edi, dword [esp + 0x28]
adc edi, 0
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], edi
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
add eax, dword [esi + edi*4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.10006280
mov dword [esp + 0x88], 0
mov cx, word [esp + 0x22]
xor cx, 0xffff
mov word [esp + 0xb4], cx
mov byte [esp + 0xb], al
jmp 0x100069cf
mov eax, dword [esp + 0x88]
mov ecx, dword [ebp + 8]
movsx eax, byte [ecx + eax]
cmp eax, 0
je 0x10006a4b
jmp 0x10006aa9
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x88]
mov edx, dword [ebp + 8]
mov bl, byte [edx + ecx]
mov ecx, dword [esp + 0x64]
movsx eax, byte [ecx + eax]
movsx ecx, bl
cmp eax, ecx
sete bl
and bl, 1
movzx eax, bl
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x64]
movsx eax, byte [ecx + eax]
cmp eax, 0
je 0x10006a4b
jmp 0x10006c26
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xbc], ecx
jmp 0x10006a9d
mov dword [esp + 0xb0], 0x3fbb94d4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
imul ecx, eax, 0x7c3919af
mov dword [esp + 0xb0], ecx
mov word [esp + 0x96], 0xa745
mov dword [esp + 0x6c], 0x40ec15d5
mov dx, word [esp + 0x22]
add dx, 0xe999
mov ecx, dword [esp + 0x6c]
mov word [esp + 0xb4], dx
cmp ecx, 0x52d25c81
ja 0x10006ba0
jmp 0x100067ea