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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [esp + 0x14], edx
push esi
push edi
mov dword [esp + 0x18], ebx
mov esi, dword [ebx + 8]
test esi, esi
jne 0x10080c75
cmp dword [ebx + 0x78], esi
jne 0x10080c6e
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x10080c6e
mov byte [ebx + 0x17], 1
call fcn.10043e00
mov esi, eax
mov eax, dword [ebx + 0x28]
dec dword [ebx + 0x38]
dec eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebx + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
jge 0x10080cdc
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x6c]
movzx edi, byte [eax + 0x18]
cmp dword [esi + 0x70], ecx
jg 0x10080cb1
push 0
push edx
push edi
mov edx, 0x31
mov ecx, esi
call fcn.10044040
add esp, 0xc
jmp 0x10080cdc
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x14], eax
mov edi, dword [ecx + 0x14]
mov dword [esp + 0x20], edi
test edi, edi
jle 0x10080d83
mov edi, dword [esp + 0xc]
nop dword [eax + eax]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dx, word [edx + eax*4]
call fcn.10070870
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x10080d39
push 0
push dword [esp + 0x10]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.10044040
mov edi, dword [esp + 0x18]
add esp, 0xc
jmp 0x10080d64
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x20], ebx
cmp eax, ebx
jl 0x10080d00
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
cmp dword [ebp + 0x20], 0
jne 0x1008139a
cmp dword [ebp + 0xc], 0
jne 0x10081002
mov al, byte [ebx + 0x13]
test al, al
jne 0x10080da6
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
jmp 0x10080db5
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edi, dword [ebx + eax*4 + 0xa0]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dx, word [eax]
call fcn.10070870
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x10080de6
push 0
push edi
push edx
mov edx, 0x51
mov ecx, esi
call fcn.10044040
add esp, 0xc
jmp 0x10080e15
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x20], edx
cmp dword [esi + 0x70], edx
jg 0x10080e3b
push 0
push 0
push edi
mov edx, 0xd
mov ecx, esi
call fcn.10044040
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x10080e6a
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax]
jne 0x10080ee0
cmp dword [ebp + 0x1c], 1
jne 0x10080ee0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10080e9b
push edi
push dword [esp + 0x10]
mov edx, 0x35
mov ecx, esi
push dword [ebp + 0x18]
call fcn.10044040
add esp, 0xc
jmp 0x10080ec9
mov edx, dword [ebp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x10080ee0
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0x70
push dword [ebp + 8]
push edx
mov edx, dword [esp + 0x1c]
call fcn.10083de0
mov ecx, dword [esi + 0x6c]
add esp, 0xc
cmp dword [esi + 0x70], ecx
jg 0x10080f18
push edi
push 0
push dword [esp + 0x18]
mov edx, 0x1f
mov ecx, esi
call fcn.10044040
add esp, 0xc
jmp 0x10080f47
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10080f68
push 0
push dword [esp + 0x10]
mov edx, 9
mov ecx, esi
push 0
call fcn.10044040
add esp, 0xc
jmp 0x10080f9b
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x10080fad
mov eax, 0x10168a28
jmp 0x10080fb9
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
add eax, 0xffffffe0
mov dword [eax], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x10080fcd
mov eax, 0x10168a20
jmp 0x10080fda
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test edi, edi
je 0x1008139a
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x1008139a
movzx eax, al
mov dword [ebx + eax*4 + 0xa0], edi
inc byte [ebx + 0x13]
jmp 0x1008139a
cmp edi, 1
jne 0x1008102f
mov al, byte [ebx + 0x13]
test al, al
jne 0x1008101a
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x14], eax
jmp 0x10081059
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0xa0]
mov dword [esp + 0x14], eax
jmp 0x10081059
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x14], edx
cmp edi, ecx
jg 0x1008104a
lea eax, [edi + edx]
sub ecx, edi
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], ecx
jmp 0x10081059
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 1]
add eax, edi
mov dword [esp + 0x14], ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + 0x2c]
cmp dword [esi + 0x70], ecx
jg 0x10081081
push dword [esp + 0x1c]
mov ecx, esi
push edx
push dword [esp + 0x18]
mov edx, 0x70
call fcn.10044040
add esp, 0xc
jmp 0x100810b4
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 8]
mov ecx, ebx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
call fcn.10078db0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100810ff
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x100810e9
push eax
mov edx, 0xfffffff8
call fcn.10044bf0
add esp, 4
jmp 0x100810ff
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x1c]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
test edi, edi
jle 0x1008118e
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dx, word [eax + ebx*4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call fcn.10070870
mov ecx, dword [ebp + 0x18]
inc ecx
cwde
add eax, ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x70], ecx
jg 0x1008114e
mov edx, dword [esp + 0x1c]
mov ecx, esi
push 0
push edx
push eax
mov edx, 0x50
call fcn.10044040
add esp, 0xc
jmp 0x10081181
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc dword [esp + 0x1c]
inc ebx
cmp ebx, edi
jl 0x10081111
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
cmp eax, dword [ecx]
jne 0x100812cd
cmp dword [ebp + 0x1c], 1
jne 0x100812cd
mov eax, dword [esi + 0x6c]
inc eax
add eax, edi
mov dword [esp + 0x24], eax
test edi, edi
jle 0x10081279
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dx, word [eax + ebx*4]
call fcn.10070870
mov ecx, dword [ebp + 0x18]
inc ecx
cwde
add eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
movzx edi, word [eax + ebx*2]
mov edx, edi
call fcn.10070870
mov ecx, dword [ebp + 0x18]
cwde
lea edx, [ecx + 1]
add edx, eax
mov eax, dword [ebp + 8]
cmp di, word [eax + 0x20]
mov edi, dword [esp + 0x1c]
cmove edx, ecx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10081223
push edx
push dword [esp + 0x28]
mov edx, 0x34
mov ecx, esi
push edi
call fcn.10044040
add esp, 0xc
jmp 0x1008124e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x10081265
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x20]
inc ebx
mov ecx, dword [ebp + 0x10]
cmp ebx, edi
jl 0x100811c0
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008129a
push 0
push dword [esp + 0x10]
mov edx, 9
mov ecx, esi
push 0
call fcn.10044040
add esp, 0xc
jmp 0x100812cd
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0xc]
push edi
push ecx
mov ecx, dword [ebx]
call fcn.10083f90
add esp, 4
mov edx, 0x60
mov ecx, esi
push eax
push 0
push edi
push dword [esp + 0x24]
call fcn.100443e0
mov ecx, dword [esi + 0x6c]
add esp, 0x14
mov dword [esp + 0x24], ecx
cmp dword [esi + 0x70], ecx
jg 0x10081322
push dword [esp + 0x14]
mov edx, 0x1d
mov ecx, esi
push dword [esp + 0x10]
push dword [esp + 0x18]
call fcn.10044040
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, eax
jmp 0x10081359
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x10081370
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
cmp edi, 1
jne 0x1008138f
test edx, edx
je 0x1008139a
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x1008139a
movzx eax, al
mov dword [ebx + eax*4 + 0xa0], edx
inc byte [ebx + 0x13]
jmp 0x1008139a
cmp edi, dword [ebx + 0x1c]
jle 0x1008139a
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edx
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + 0x18]
test dl, dl
jne 0x100814a2
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x100814a2
cmp dword [ebx + 0x78], eax
jne 0x100814a2
cmp byte [ebx + 0x14], al
jne 0x100814a2
mov edi, dword [ebx + 8]
test edi, edi
jne 0x100813e9
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x100813e0
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.10043e00
mov edi, eax
mov ecx, dword [ebx + 0x78]
test ecx, ecx
cmovne ebx, ecx
mov byte [ebx + 0x15], 1
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x10081419
push 0
push 2
push 0x313
mov edx, 0x46
mov ecx, edi
call fcn.10044040
add esp, 0xc
mov edx, eax
jmp 0x1008144c
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0x313
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x10081463
push 0
or edx, 0xffffffff
call fcn.10044bf0
add esp, 4
jmp 0x10081489
test edx, edx
jns 0x1008146b
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea edx, [eax + ecx*4]
je 0x10081489
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.10044ce0
add esp, 8
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x10081505
lea ecx, [eax + eax*4]
mov edx, 4
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x10081505
mov edi, dword [ebp + 0x1c]
test edi, edi
jle 0x100814b9
test dl, dl
jne 0x100814b9
mov eax, dword [ebx + 0x78]
test eax, eax
cmovne ebx, eax
mov byte [ebx + 0x15], 1
movzx edx, byte [ecx + 0x18]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100814da
push 0
push edi
push edx
mov edx, 0x9e
mov ecx, esi
call fcn.10044040
add esp, 0xc
jmp 0x10081505
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x9e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x10081523
push edx
mov edx, esi
call fcn.10044890
add esp, 4
jmp 0x1008152c
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10081552
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x7a
mov ecx, esi
call fcn.10044040
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
pop edi
pop esi
pop ebx
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esp, ebp
pop ebp
ret