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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], edx
push esi
push edi
mov dword [esp + 0x2c], 0
mov ecx, dword [ebx + 4]
mov edi, dword [ebx]
mov esi, dword [ebx + 8]
mov dword [esp + 0x10], edi
mov al, byte [ecx + 0x10]
mov byte [esp + 0xe], al
mov eax, dword [edi + 0x38]
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [edi + 0x38], eax
lea eax, [ecx + 0x11]
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], eax
cmp edx, 2
jne 0x100afa3e
cmp byte [eax], 0x5a
jne 0x100afa42
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x28], eax
mov edx, dword [ebp + 8]
test edx, edx
jle 0x100afb0f
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
cmp byte [edi + 0x10], 0x59
mov edi, dword [esp + 0x10]
jne 0x100afabf
cmp dword [esp + 0x24], 2
mov dword [esp + 0x30], ecx
jne 0x100afa9f
mov al, byte [eax]
mov byte [esp + 0xf], al
cmp al, 0x56
jne 0x100afa78
mov ecx, dword [ebx + 0x28]
jmp 0x100afa7b
mov ecx, dword [ebx + 0x20]
xor edx, edx
cmp al, 0x56
setne dl
xor eax, eax
cmp byte [esp + 0xf], 0x56
setne al
lea edx, [edx*2 + 0x37]
lea eax, [eax*8 + 0x20]
mov eax, dword [eax + ebx]
jmp 0x100afaaa
mov ecx, dword [ebx + 0x30]
mov edx, 0x36
mov eax, dword [ebx + 0x28]
push dword [esp + 0x1c]
push eax
push dword [ebp + 8]
push ecx
mov ecx, ebx
call fcn.100af390
add esp, 0x10
jmp 0x100afb0b
cmp dword [esi + 0x78], ecx
jg 0x100afadc
push 1
push dword [esp + 0x20]
mov ecx, esi
push edx
mov edx, 0x31
call fcn.10033da0
add esp, 0xc
jmp 0x100afb0b
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], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x24], 1
jne 0x100afb25
cmp dword [ecx + 0x58], 0
jne 0x100afb25
xor edx, edx
mov ecx, ebx
call fcn.100adc50
mov eax, dword [esi + 0x74]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov al, byte [eax]
cmp al, byte [ecx + 0x12]
jne 0x100afd9a
cmp dword [ebp + 8], 0
je 0x100afd9a
cmp byte [ecx + 0x10], 0x59
jne 0x100afd9a
mov cl, byte [edi + 0x13]
test cl, cl
jne 0x100afb6d
mov edx, dword [edi + 0x2c]
lea ecx, [edi + 0x2c]
inc edx
mov dword [ecx], edx
inc dword [ecx]
mov eax, dword [ecx]
mov dword [esp + 0x14], edx
jmp 0x100afba5
sub cl, 1
movzx eax, cl
mov byte [edi + 0x13], cl
mov edx, dword [edi + eax*4 + 0x98]
lea eax, [edi + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
jne 0x100afb92
mov ecx, eax
inc dword [ecx]
mov eax, dword [ecx]
jmp 0x100afba5
dec cl
mov dword [esp + 0x14], edx
movzx eax, cl
mov byte [edi + 0x13], cl
mov eax, dword [edi + eax*4 + 0x98]
cmp dword [esp + 0x24], 2
mov dword [esp + 0x20], eax
jne 0x100afcaa
mov ecx, dword [esi + 0x74]
mov eax, dword [ebx + 0x20]
cmp dword [esi + 0x78], ecx
jg 0x100afbd4
push 0
push edx
push eax
mov edx, 0x86
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x100afc06
mov edi, dword [ebx + 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], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x86
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 + 0x30]
cmp dword [esi + 0x78], ecx
jg 0x100afc2d
push 0
push dword [esp + 0x24]
mov ecx, esi
push edx
mov edx, 0x86
call fcn.10033da0
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x100afc60
mov edi, dword [esp + 0x10]
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 + 0x20]
mov dword [eax + ecx*4], 0x86
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]
cmp dword [esi + 0x78], ecx
jg 0x100afc89
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
push dword [esp + 0x20]
mov edx, 0x39
push dword [esp + 0x28]
call fcn.10033da0
add esp, 0xc
jmp 0x100afd5e
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 + 0x14]
jmp 0x100afd47
cmp dword [ebx + 0x1c], 0
je 0x100afd5e
mov ecx, dword [esi + 0x74]
mov eax, dword [ebx + 0x30]
cmp dword [esi + 0x78], ecx
jg 0x100afcd8
push 0
push edx
push eax
mov edx, 0x86
mov ecx, esi
call fcn.10033da0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x100afd0a
mov edi, dword [ebx + 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], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x86
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 eax, dword [ebx + 0x1c]
cmp dword [esi + 0x78], ecx
jg 0x100afd2c
push edx
push dword [esp + 0x20]
mov edx, 0x39
mov ecx, esi
push eax
call fcn.10033da0
add esp, 0xc
jmp 0x100afd5e
mov edi, dword [ebx + 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 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4], 0x39
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100afd7a
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x100afd7a
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100afd96
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x100afd96
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
sub eax, 1
je 0x100afe6a
sub eax, 1
je 0x100afe39
cmp dword [ecx + 0x58], 0
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
je 0x100afe25
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x100afdec
push 0
push 1
push eax
mov edx, 0x55
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x100afe7f
mov edi, 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], 0x55
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100afe83
push dword [ebx + 0x14]
push 0
push edx
mov edx, ecx
mov ecx, ebx
call fcn.100ad3b0
add esp, 0xc
jmp 0x100afe7f
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100afdcb
push dword [ebx + 0x14]
push 1
push edx
mov edx, ecx
mov ecx, ebx
call fcn.100ad3b0
add esp, 0xc
jmp 0x100afe7f
mov eax, dword [ebx + 0x28]
mov ecx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x28], eax
call fcn.100ae740
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmp eax, dword [ebx + 0x18]
jne 0x100afefc
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x100afeae
push 0
push 0
push edx
mov edx, 0x81
mov ecx, esi
call fcn.10033da0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x100afee1
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x81
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 eax, dword [esi + 0x74]
test eax, eax
jle 0x100afefc
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x14]
cmp dword [ebp + 0xc], 0
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
je 0x100affc3
lea edi, [ecx + 2]
cmp eax, ecx
jg 0x100aff28
push 0
push edi
push edx
mov edx, 5
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x100aff55
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, edi
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x78], edx
jg 0x100aff7c
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.10033da0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x100affaf
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0xe], 0x4c
mov edi, dword [esp + 0x10]
je 0x100b0145
jmp 0x100b007e
xor edx, edx
cmp byte [esp + 0xe], 0x4c
setne dl
inc edx
add edx, ecx
cmp eax, ecx
jg 0x100affec
push 0
push edx
push dword [esp + 0x1c]
mov edx, 5
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x100b001f
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 + 0x10]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0xe], 0x4c
je 0x100b0145
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x100b004b
push 0
push dword [esp + 0x20]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.10033da0
add esp, 0xc
jmp 0x100b007e
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
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100b00dc
mov ecx, dword [ecx]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x100b00e4
cmp ecx, 1
jne 0x100b00b8
mov al, byte [edi + 0x13]
test al, al
jne 0x100b00a7
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x100b00e6
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
jmp 0x100b00e6
mov edx, dword [edi + 0x20]
mov dword [esp + 0x20], edx
cmp ecx, dword [edi + 0x1c]
jg 0x100b00cf
sub dword [edi + 0x1c], ecx
lea eax, [edx + ecx]
mov dword [edi + 0x20], eax
jmp 0x100b00ea
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [edi + 0x2c], eax
jmp 0x100b00e6
mov dword [esp + 0x24], 0
xor edx, edx
mov dword [esp + 0x20], edx
push edx
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.100ad2d0
mov eax, dword [esp + 0x1c]
add esp, 4
mov ebx, dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x34]
mov edx, dword [eax + 0xc]
push dword [esp + 0x2c]
push ebx
call fcn.100af1a0
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, 1
jne 0x100b013a
test ebx, ebx
je 0x100b0145
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x100b0145
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
jmp 0x100b0145
cmp eax, dword [edi + 0x1c]
jle 0x100b0145
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ebx
mov edx, dword [esp + 0x30]
test edx, edx
je 0x100b019a
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x100b016b
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x100b019a
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
mov ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x1c]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100b01c1
push ebx
mov edx, esi
call fcn.10034550
mov eax, dword [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 0x40]
mov ecx, dword [esi + 0x74]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov dword [edx + ebx*4], ecx
pop ebx
mov esp, ebp
pop ebp
ret