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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 0x14]
mov esi, edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], edi
mov ebx, dword [edi + 8]
movzx eax, byte [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], ebx
test eax, eax
je 0x100a5975
movzx edx, byte [eax + 1]
jmp 0x100a5977
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], edx
test eax, eax
je 0x100a598c
cmp dword [eax], 0
jne 0x100a59a3
xor eax, eax
mov dword [ebp + 0xc], eax
test edx, edx
jne 0x100a59a3
push dword [ebp + 0x18]
mov edx, dword [esi + 0xc]
mov ecx, ebx
call fcn.100a6690
mov ecx, dword [ebp + 0x14]
add esp, 4
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x24], esi
test eax, eax
jne 0x100a59e2
test edx, edx
je 0x100a59d0
test byte [edx + 0x20], 1
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
jne 0x100a59cd
inc eax
mov dword [esp + 0x18], eax
add dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x2c]
mov ebx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0xc], eax
mov ebx, dword [esp + 0x28]
jmp 0x100a59eb
mov ecx, dword [edi + 0x2c]
add eax, esi
cmp eax, ecx
jle 0x100a59f1
lea eax, [ecx + esi]
mov dword [edi + 0x2c], eax
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
mov dword [eax + 0x10], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], ecx
jl 0x100a5a7d
xor edx, edx
mov dword [esp + 0x2c], edx
test esi, esi
jle 0x100a5bbf
mov edi, ecx
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x100a5a3d
lea eax, [edx + edi]
mov ecx, ebx
push eax
push edx
push dword [ebp + 8]
mov edx, 0x5c
call fcn.100ec0c0
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x100a5a6b
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
lea eax, [edx + edi]
mov dword [ecx + 0xc], eax
inc edx
mov dword [esp + 0x2c], edx
cmp edx, esi
jl 0x100a5a18
mov edi, dword [esp + 0x34]
jmp 0x100a5bbb
mov eax, dword [esp + 0x20]
cmp eax, 3
je 0x100a5bbf
cmp eax, 0xa
je 0x100a5a9d
cmp eax, 9
je 0x100a5a9d
cmp eax, 0xd
je 0x100a5a9d
xor al, al
jmp 0x100a5a9f
mov al, 1
mov byte [esp + 0x2c], al
test edx, edx
je 0x100a5b6d
cmp dword [esp + 0x30], 0
jne 0x100a5b6d
cmp dword [esp + 0x20], 0xc
je 0x100a5b6d
cmp dword [esp + 0x20], 0xe
je 0x100a5b6d
or al, 0xc
mov byte [esp + 0x2c], al
mov eax, dword [edx + 4]
mov dword [esp + 0x38], eax
mov eax, dword [edx]
mov esi, dword [esp + 0x38]
cmp esi, dword [eax]
mov esi, dword [esp + 0x24]
jge 0x100a5b30
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
lea esi, [edi + edi*4]
shl esi, 2
mov eax, dword [edx]
movzx ecx, word [esi + eax + 0x18]
test ecx, ecx
je 0x100a5b1a
mov eax, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
mov dx, di
sub dx, word [eax + 4]
mov eax, dword [ebx + 0x1c]
inc dx
mov word [eax + ecx*4 + 4], dx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
inc edi
add esi, 0x14
cmp edi, dword [eax]
jl 0x100a5af5
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
test eax, eax
jle 0x100a5b6d
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x1c]
add eax, 0x18
nop dword [eax + eax]
cmp word [eax], 0
jbe 0x100a5b5f
dec esi
mov dword [esp + 0x1c], 0
add eax, 0x14
sub dword [esp + 0x38], 1
jne 0x100a5b50
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0x14]
mov al, byte [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov byte [esp + 0x44], al
cmp dword [ebx + 8], 0
mov ebx, dword [esp + 0x28]
je 0x100a5ba3
test al, 8
je 0x100a5ba3
cmp dword [esp + 0x18], 0
jle 0x100a5ba3
lea eax, [esp + 0x40]
mov dword [esp + 0x1c], 0
mov dword [edx + 0x24], eax
jmp 0x100a5bbf
push dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
push 0
push ecx
mov ecx, edi
mov edx, dword [eax + 0x1c]
call fcn.100ce100
add esp, 0xc
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x30], 0
je 0x100a5c16
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, edi
push dword [eax + 0x1c]
movzx esi, byte [edx + 1]
push dword [ebp + 0x18]
push dword [edx + 4]
mov edx, esi
call fcn.100a63e0
mov ecx, dword [ebp + 0x10]
mov edx, esi
push dword [ecx + 8]
mov ecx, edi
push eax
call fcn.100a6310
mov eax, dword [ebp + 0xc]
add esp, 0x18
test eax, eax
jne 0x100a5c30
mov eax, dword [esp + 0x14]
mov ecx, ebx
push dword [ebp + 0x18]
mov edx, dword [eax + 0xc]
call fcn.100a6690
mov esi, dword [esp + 0x28]
add esp, 4
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
lea ecx, [edx - 1]
cmp ecx, 0xe
ja case.0x100a5c29.4
jmp dword [ecx*4 + 0x100a62cc]
mov esi, dword [esp + 0x24]
jmp 0x100a5c19
mov al, byte [edi + 0x13]
test al, al
jne 0x100a5c45
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x100a5c54
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov edx, dword [esp + 0xc]
mov ecx, ebx
push eax
push esi
push edx
mov edx, 0x5f
mov dword [esp + 0x44], eax
call fcn.100ec050
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, ebx
push esi
push dword [esp + 0x10]
mov esi, dword [esp + 0x40]
push esi
push edx
mov edx, 0x88
call fcn.100eb830
add esp, 0x10
jmp 0x100a623b
mov edx, dword [esp + 0x10]
mov ecx, ebx
push esi
push dword [esp + 0x10]
push edx
mov edx, 0x8a
call fcn.100ec050
add esp, 0xc
jmp case.0x100a5c29.4
mov edx, dword [esp + 0x18]
mov ecx, edi
lea edx, [edx + 1]
call fcn.100cc740
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x2c], eax
add eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x78], ecx
jg 0x100a5ce8
push eax
push esi
push dword [esp + 0x14]
mov edx, 0x5f
mov ecx, ebx
call fcn.100ec0c0
add esp, 0xc
jmp 0x100a5d17
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x20], 5
jne 0x100a5d59
mov eax, dword [ebx + 0x74]
mov edx, 0x1f
mov esi, dword [esp + 0x10]
add eax, 4
push 0
push dword [esp + 0x30]
inc esi
mov ecx, ebx
push eax
push esi
call fcn.100eb830
push dword [esp + 0x34]
mov edx, 0x88
mov ecx, ebx
push dword [esp + 0x20]
push dword [esp + 0x44]
push esi
call fcn.100eb830
add esp, 0x20
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100a5d8c
push dword [esp + 0x18]
mov edx, eax
mov ecx, edi
push 1
push dword [esp + 0x24]
push dword [esp + 0x44]
push dword [esp + 0x24]
call fcn.100a6700
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov esi, dword [esp + 0x2c]
inc eax
jmp 0x100a6236
mov al, byte [edi + 0x13]
test al, al
jne 0x100a5d9b
inc dword [edi + 0x2c]
mov esi, dword [edi + 0x2c]
jmp 0x100a5daa
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov esi, dword [edi + eax*4 + 0x94]
push esi
push dword [esp + 0x14]
mov edx, 0x7d
mov dword [esp + 0x40], esi
mov ecx, ebx
call fcn.100ebf20
push esi
mov esi, dword [esp + 0x38]
mov edx, 0x7e
push esi
push dword [esp + 0x20]
mov ecx, ebx
call fcn.100ec050
mov eax, dword [ebx + 0x74]
add esp, 0x14
test eax, eax
jle 0x100a5def
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [ebx + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x100a5e0b
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x100a5e0b
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x18]
inc eax
jmp 0x100a6236
mov ecx, edi
test eax, eax
je 0x100a5e3b
push dword [esp + 0x18]
mov edx, eax
push esi
push dword [esp + 0x24]
push dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.100a6700
add esp, 0x14
jmp case.0x100a5c29.4
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
call fcn.100cc7c0
push dword [ebp + 0x1c]
mov edi, dword [esp + 0x10]
mov edx, 0x32
push edi
mov ecx, ebx
mov dword [esp + 0x38], eax
call fcn.100ebf20
mov ecx, dword [esp + 0x40]
mov edx, 0x5f
push dword [esp + 0x38]
shr ecx, 0x1f
sub esi, ecx
push esi
lea eax, [ecx + edi]
mov ecx, ebx
push eax
call fcn.100ec050
mov eax, dword [esp + 0x4c]
add esp, 0x14
mov ecx, ebx
test eax, eax
jns 0x100a5ea8
push edi
push dword [esp + 0x34]
mov edx, 0x7e
push dword [esp + 0x18]
call fcn.100ec050
add esp, 0xc
jmp 0x100a6267
push eax
push edi
push dword [esp + 0x38]
mov edx, 0x88
push dword [esp + 0x1c]
call fcn.100eb830
add esp, 0x10
jmp 0x100a6267
mov ecx, edi
test eax, eax
je 0x100a5eea
push dword [esp + 0x18]
mov edx, eax
push esi
push dword [esp + 0x24]
push dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.100a6700
add esp, 0x14
jmp case.0x100a5c29.4
call fcn.100cc7c0
mov ecx, dword [ebp + 0x14]
mov edx, 0x5f
push esi
mov dword [esp + 0x3c], eax
push dword [ecx + 0x14]
mov ecx, ebx
push eax
push esi
push dword [esp + 0x1c]
call fcn.100ebbd0
add esp, 0x14
mov edx, 0x88
mov ecx, ebx
push esi
push dword [esp + 0x10]
mov esi, dword [esp + 0x40]
push esi
push dword [esp + 0x1c]
call fcn.100eb830
add esp, 0x10
test esi, esi
je 0x100a6267
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x100a6267
movzx eax, al
mov dword [edi + eax*4 + 0x94], esi
inc byte [edi + 0x13]
jmp 0x100a6267
push dword [esp + 0x10]
mov edx, 0x46
mov ecx, ebx
push 1
call fcn.100ebf20
add esp, 8
jmp case.0x100a5c29.4
test eax, eax
je 0x100a6267
push dword [esp + 0x18]
mov edx, eax
mov ecx, edi
push esi
push dword [esp + 0x24]
push dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.100a6700
add esp, 0x14
jmp case.0x100a5c29.4
test eax, eax
jne 0x100a5f73
mov ecx, ebx
cmp edx, 0xd
jne 0x100a5fb8
mov eax, dword [ebp + 0x14]
mov edx, 0xe
push dword [eax + 4]
call fcn.100ebf90
add esp, 4
jmp 0x100a6267
push esi
push dword [esp + 0x10]
mov edx, 0x52
call fcn.100ebf20
add esp, 8
jmp 0x100a6267
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x3c], eax
mov ecx, dword [eax]
mov al, byte [edi + 0x13]
mov dword [esp + 0x2c], ecx
test al, al
jne 0x100a5ff4
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x100a6003
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov dword [esp + 0x24], eax
lea eax, [ecx + 2]
mov edx, eax
mov dword [esp + 0x28], eax
mov ecx, edi
call fcn.100cc740
mov dword [esp + 0x30], eax
add eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
inc eax
cmp dword [esp + 0x20], 6
mov dword [esp + 0x38], eax
jne 0x100a6053
mov eax, dword [esp + 0x10]
mov edx, 0x1f
push esi
push dword [esp + 0x10]
inc eax
mov ecx, ebx
push 0
push eax
call fcn.100eb830
mov dword [esp + 0x28], eax
add esp, 0x10
mov eax, dword [esp + 0x38]
push eax
push esi
mov esi, dword [esp + 0x14]
mov edx, 0x5f
push esi
mov ecx, ebx
call fcn.100ec050
add esp, 0xc
cmp dword [esp + 0x20], 6
jne 0x100a60a0
mov eax, dword [esp + 0x10]
mov edx, 0x88
push dword [esp + 0x38]
inc eax
mov ecx, ebx
push eax
call fcn.100ebf20
mov eax, dword [ebx + 0x74]
add esp, 8
test eax, eax
jle 0x100a60a0
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebx + 0x70]
mov word [eax + ecx*4 - 0x12], dx
cmp dword [esp + 0x2c], 0
jle 0x100a6121
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
add eax, 0x18
mov dword [esp + 0x38], eax
movzx eax, word [eax]
lea edx, [esi - 1]
mov ecx, dword [ebx + 0x74]
add edx, eax
cmp dword [ebx + 0x78], ecx
jg 0x100a60db
push 0
push edi
push edx
mov edx, 0x4f
mov ecx, ebx
call fcn.100ec0c0
add esp, 0xc
jmp 0x100a610a
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x4f
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 eax, dword [esp + 0x38]
inc edi
add eax, 0x14
sub dword [esp + 0x2c], 1
mov dword [esp + 0x38], eax
jne 0x100a60b6
mov edi, dword [esp + 0x34]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x100a6145
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x7c
call fcn.100ec0c0
add esp, 0xc
jmp 0x100a6178
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x7c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x74]
mov esi, dword [esp + 0x30]
cmp dword [ebx + 0x78], ecx
jg 0x100a61a0
mov edx, dword [esp + 0x24]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x2c]
push edx
push esi
mov edx, 0x5f
call fcn.100ec0c0
add esp, 0xc
jmp 0x100a61cf
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x28]
mov edx, 0x88
mov ecx, ebx
push esi
push dword [esp + 0x2c]
push dword [esp + 0x1c]
call fcn.100eb830
mov ecx, dword [esp + 0x28]
add esp, 0x10
test ecx, ecx
je 0x100a6216
mov edx, dword [ebx + 0x74]
jns 0x100a61fb
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x53], 0
je 0x100a620a
mov eax, 0x101442cc
jmp 0x100a6213
mov eax, dword [ebx + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x100a6232
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x100a6232
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x28]
cmp eax, 1
jne 0x100a6255
test esi, esi
je case.0x100a5c29.4
mov al, byte [edi + 0x13]
cmp al, 8
jae case.0x100a5c29.4
movzx eax, al
mov dword [edi + eax*4 + 0x94], esi
inc byte [edi + 0x13]
jmp case.0x100a5c29.4
cmp eax, dword [edi + 0x1c]
jle case.0x100a5c29.4
mov dword [edi + 0x20], esi
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x100a62c4
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
test edx, edx
je 0x100a62c4
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x100a6296
push 0
push dword [ebp + 0x1c]
mov ecx, ebx
push edx
mov edx, 0x3c
call fcn.100ec0c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + ecx*4], 0x3c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret