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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, ecx
mov dword [esp + 0x18], 0
push ebx
push esi
push edi
mov ebx, dword [eax + 4]
mov edi, dword [eax]
mov esi, dword [eax + 8]
mov dword [esp + 0x38], eax
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
test edx, edx
je 0x100805e4
mov edx, dword [edx]
jmp 0x100805e6
xor edx, edx
mov eax, dword [edi + 0x38]
dec eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], eax
dec eax
mov dword [esp + 0x2c], eax
mov dword [edi + 0x38], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x1008060d
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x18], ecx
jmp 0x10080620
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov dword [esp + 0x18], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x1008062f
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x1008063e
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov dword [esp + 0x10], eax
test edx, edx
je 0x1008065c
mov ecx, edi
call fcn.100cc740
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.100cc740
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x30]
cmp dword [esi + 0x78], ecx
jg 0x1008067f
push 0
push dword [esp + 0x1c]
mov ecx, esi
push edx
mov edx, 0x85
call fcn.100ec0c0
add esp, 0xc
jmp 0x100806ae
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x24]
mov edx, dword [ebx + 0x30]
mov ecx, dword [esp + 0x3c]
call fcn.10081810
add esp, 4
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x34]
cmp dword [esi + 0x78], ecx
jg 0x100806e2
push 0
push edx
push 0
mov edx, 0x49
mov ecx, esi
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080711
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x49
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 ebx, dword [ebx + 0x24]
test ebx, ebx
jne 0x100806c1
mov ebx, dword [esp + 0x28]
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x58]
cmp dword [esi + 0x78], ecx
jg 0x10080741
push edx
push dword [esp + 0x30]
mov edx, 0x19
mov ecx, esi
push dword [esp + 0x1c]
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080774
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x19
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x78], ecx
jg 0x1008079c
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x85
call fcn.100ec0c0
add esp, 0xc
jmp 0x100807cf
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x5c]
cmp dword [esi + 0x78], ecx
jg 0x100807f8
push dword [esp + 0x10]
mov ecx, esi
push dword [esp + 0x30]
push edx
mov edx, 0x36
call fcn.100ec0c0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x1008082b
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x36
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [ebx + 0x14]
cmp al, 0x55
jne 0x1008088f
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10080857
push edx
push dword [esp + 0x20]
mov edx, 0x35
mov ecx, esi
push dword [esp + 0x20]
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080a8a
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10080a8a
cmp al, 0x42
je 0x10080a8a
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov edx, dword [eax + 0xc]
test edx, edx
je 0x100808bc
push ebx
push ebx
mov ecx, edi
call fcn.100a57c0
mov dword [esp + 0x34], eax
add esp, 8
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x14], 0x5e
jne 0x1008091a
mov ebx, dword [esi + 0x74]
cmp dword [esi + 0x78], ebx
jg 0x100808e7
push dword [esp + 0x10]
mov edx, 0x35
mov ecx, esi
push 0
push dword [esp + 0x20]
call fcn.100ec0c0
add esp, 0xc
mov ebx, eax
jmp 0x1008091a
mov edx, dword [esp + 0x18]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x2c], 0
je 0x10080a0b
push dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
call fcn.10081810
mov ecx, dword [esi + 0x74]
add esp, 4
cmp dword [esi + 0x78], ecx
jg 0x1008095f
mov edx, dword [esp + 0x34]
mov ecx, esi
push edx
push dword [esp + 0x28]
mov edx, 0x58
push dword [esp + 0x28]
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080992
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x58
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x53], 0
je 0x100809ad
push dword [esp + 0x2c]
mov edx, 0xfffffff7
call fcn.100eb160
add esp, 4
jmp 0x100809c3
mov eax, dword [esi + 0x74]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x74]
lea edx, [eax + 1]
cmp dword [esi + 0x78], eax
jg 0x100809e5
push edx
push dword [esp + 0x20]
mov ecx, esi
push edx
mov edx, 0x10
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080a5f
mov edi, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x74], edx
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x10080a57
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10080a2c
push 0
push dword [esp + 0x20]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080a5f
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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
test ebx, ebx
je 0x10080a86
mov edx, dword [esi + 0x74]
jns 0x10080a6b
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x10080a7a
mov eax, 0x101442cc
jmp 0x10080a83
mov eax, dword [esi + 0x70]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov edx, ebx
mov ecx, eax
push dword [eax + 0x14]
push 0
push dword [esp + 0x1c]
call fcn.10080fd0
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x10080ac1
push edx
mov edx, esi
call fcn.100eb740
add esp, 4
jmp 0x10080aca
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x74]
mov ebx, dword [esp + 0x3c]
cmp dword [esi + 0x78], ecx
jg 0x10080aee
push 0
push ebx
push dword [esp + 0x1c]
mov edx, 5
mov ecx, esi
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080b1d
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
lea ecx, [ebx - 1]
test ecx, ecx
jns 0x10080b2a
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x10080b39
mov eax, 0x101442cc
jmp 0x10080b42
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
lea ecx, [ebx + 1]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x10080b52
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x10080b61
mov eax, 0x101442cc
jmp 0x10080b6a
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], edx
test ecx, ecx
je 0x10080b89
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x10080b89
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10080ba5
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x10080ba5
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10080c1c
cmp eax, 1
jne 0x10080bff
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10080bce
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x10080bce
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10080c1c
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x10080c1c
movzx eax, al
mov edx, 1
mov dword [edi + eax*4 + 0x94], ecx
mov ecx, dword [esp + 0x38]
inc byte [edi + 0x13]
call fcn.10080c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [edi + 0x1c]
jle 0x10080c1c
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
cmp eax, eax
jle 0x10080c1c
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x38]
mov edx, 1
call fcn.10080c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret