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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0xc]
push edi
test eax, eax
je 0x100cd3a3
push eax
call dword [0x1018e8e4]
add esp, 4
mov edi, dword [esi + 0x18]
call fcn.100c3c30
mov eax, dword [esi]
test eax, eax
je 0x100cd3c2
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100cd3c2
push eax
call dword [0x1018e8e4]
add esp, 4
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x100cd3d7
cmp ebx, 5
je 0x100cd3d7
cmp ebx, 6
jne 0x100cdb0f
cmp dword [esi], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [esi + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 4]
mov edx, dword [edx]
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], 0
je 0x100cd40f
mov eax, dword [eax + 4]
cmp byte [eax + 0x14], 2
jne 0x100cd40f
mov ebx, 5
jmp 0x100cd5d4
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jne 0x100cd443
push 2
push ecx
call fcn.100c62f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100cd5d4
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
push ecx
push 1
mov dword [esi + 0xc], 1
call fcn.100cba20
add esp, 8
mov edi, dword [esi + 0x18]
cmp byte [edi + 8], 0
jne 0x100cd5d4
mov esi, dword [edi + 4]
xor ebx, ebx
mov dword [esp + 0x10], ebx
call fcn.100c3c30
mov al, byte [edi + 8]
cmp al, 2
je 0x100cd5a1
cmp al, 1
je 0x100cd5a1
movzx edx, word [esi + 0x16]
test dl, 0x40
je 0x100cd48e
mov eax, dword [esi + 0x4c]
cmp dword [eax], ebx
je 0x100cd48e
mov dword [esp + 0x10], 0x106
jmp 0x100cd5a1
cmp byte [edi + 9], 0
mov eax, dword [edi + 4]
je 0x100cd4d5
cmp dword [eax + 0x4c], edi
je 0x100cd4af
test byte [eax + 0x16], 0x20
je 0x100cd4af
mov dword [esp + 0x10], 0x106
jmp 0x100cd5a1
mov eax, dword [eax + 0x48]
cmp eax, ebx
je 0x100cd4d5
mov ecx, 1
jmp 0x100cd4c0
cmp dword [eax], edi
je 0x100cd4ce
cmp dword [eax + 4], ecx
jne 0x100cd4ce
cmp byte [eax + 8], cl
jne 0x100cd481
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x100cd4c0
mov eax, edx
and eax, 0xfff7
mov dword [esp + 0x10], ebx
mov word [esi + 0x16], ax
cmp dword [esi + 0x2c], ebx
jne 0x100cd4f0
or eax, 8
mov word [esi + 0x16], ax
cmp dword [esi + 0xc], 0
jne 0x100cd507
mov ebx, esi
call fcn.100c5f00
mov dword [esp + 0x10], eax
test eax, eax
je 0x100cd4f0
jmp 0x100cd50e
cmp dword [esp + 0x10], 0
je 0x100cd52e
cmp byte [esi + 0x14], 0
jne 0x100cd52e
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100cd52e
mov ecx, dword [eax + 0x44]
push ecx
call fcn.100c0600
add esp, 4
mov dword [esi + 0xc], 0
cmp byte [esp + 0x10], 5
jne 0x100cd56d
cmp byte [esi + 0x14], 0
jne 0x100cd56d
mov ebx, dword [esi + 4]
add ebx, 0x1b4
je 0x100cd56d
mov ecx, dword [ebx]
test ecx, ecx
je 0x100cd56d
mov eax, dword [ebx + 8]
test eax, eax
jl 0x100cd56d
mov edx, dword [ebx + 4]
push eax
push edx
call ecx
add esp, 8
test eax, eax
je 0x100cd566
inc dword [ebx + 8]
jmp 0x100cd4f0
mov dword [ebx + 8], 0xffffffff
cmp dword [esp + 0x10], 0
jne 0x100cd5a1
cmp byte [edi + 8], 0
jne 0x100cd593
inc dword [esi + 0x28]
cmp byte [edi + 9], 0
je 0x100cd593
mov byte [edi + 0x24], 1
mov eax, dword [esi + 0x48]
lea ecx, [edi + 0x1c]
mov dword [edi + 0x28], eax
mov dword [esi + 0x48], ecx
mov byte [edi + 8], 1
cmp byte [esi + 0x14], 1
jae 0x100cd5a1
mov byte [esi + 0x14], 1
cmp byte [edi + 9], 0
je 0x100cd5c5
add dword [edi + 0xc], 0xffffffff
jne 0x100cd5c5
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x100cd5c1
push eax
call dword [0x1018e8ec]
add esp, 4
mov byte [edi + 0xa], 0
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], 1
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x20]
mov eax, dword [eax]
movzx eax, byte [eax + 5]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], eax
test ebx, ebx
jne 0x100cd608
cmp eax, 5
jne 0x100cd608
cmp edx, edi
je 0x100cd608
lea ebx, [eax + 3]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], 0
mov eax, dword [ebp + 0xc]
test eax, eax
jl 0x100cd624
cmp dword [esp + 0x2c], eax
jge 0x100cd692
mov edi, dword [esi + 0x10]
cmp edi, dword [esp + 0x10]
ja 0x100cd692
test ebx, ebx
jne 0x100cd6d4
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [0x1018d63c]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x100cd684
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
push edx
push edi
lea ecx, [ebx + 2]
call fcn.100c02b0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100cd684
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
push ebx
push eax
push edi
push esi
call fcn.100cd1c0
mov ecx, dword [esp + 0x40]
push ecx
mov ebx, eax
call fcn.100c0600
add esp, 0x14
mov eax, 1
add dword [esi + 0x10], eax
add dword [esp + 0x2c], eax
jmp 0x100cd617
test ebx, ebx
jne 0x100cd6d4
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
mov edx, eax
sub edx, ecx
inc edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], edx
cmp ecx, eax
ja 0x100cd6e1
cmp dword [esi + 0x28], ebx
jne 0x100cda10
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
add eax, 0x58
mov dword [esi + 0x2c], edx
mov dword [eax], esi
mov dword [esi + 0x28], 1
jmp 0x100cda10
cmp ebx, 0x65
jne 0x100cda10
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100cd700
mov eax, dword [esi + 4]
call fcn.100c62a0
mov ebx, eax
mov dword [esp + 0x10], 1
test ebx, ebx
je 0x100cd700
cmp ebx, 0x65
jne 0x100cd77c
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, dword [edi + 4]
inc ebx
mov dword [esp + 0x30], eax
call fcn.100c3c30
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x44]
push eax
mov dword [esp + 0x34], edx
call fcn.100c09e0
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x100cd754
mov eax, dword [esp + 0x30]
mov ecx, ebx
shr ecx, 0x18
mov byte [eax + 0x28], cl
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
mov byte [eax + 0x29], dl
mov byte [eax + 0x2a], cl
mov byte [eax + 0x2b], bl
cmp byte [edi + 9], 0
je 0x100cd778
add dword [edi + 0xc], 0xffffffff
jne 0x100cd778
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x100cd774
push eax
call dword [0x1018e8ec]
add esp, 4
mov byte [edi + 0xa], 0
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jne 0x100cda10
mov eax, dword [esi]
test eax, eax
je 0x100cd78f
call fcn.100e8350
cmp dword [esp + 0x3c], 5
jne 0x100cd7ae
mov eax, dword [esi + 4]
push 2
push eax
call fcn.100ccde0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100cda10
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x1c], ecx
jge 0x100cd7e6
mov eax, ecx
cdq
idiv dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, eax
lea eax, [ecx + edx - 1]
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov eax, dword [0x1018d63c]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
jne 0x100cd7f6
dec edi
jmp 0x100cd7f6
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x20]
mov edi, eax
imul edi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x1c], edx
jge 0x100cdc01
mov eax, dword [esp + 0x1c]
cdq
mov ecx, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
push ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x44]
cdq
push ecx
push edx
push eax
call fcn.10138f60
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], eax
nop
cmp edi, dword [esp + 0x3c]
ja 0x100cd898
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [0x1018d63c]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x100cd891
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x30]
push edx
push edi
xor ecx, ecx
call fcn.100c02b0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100cd891
mov eax, dword [esp + 0x30]
push eax
call fcn.100c09e0
mov ecx, dword [esp + 0x34]
add esp, 4
push ecx
mov ebx, eax
call fcn.100c0600
add esp, 4
inc edi
test ebx, ebx
je 0x100cd840
jmp 0x100cd8ad
test ebx, ebx
jne 0x100cd8ad
mov eax, dword [esp + 0x28]
push 1
push ebx
call fcn.100c0c20
add esp, 8
mov ebx, eax
mov edx, dword [esp + 0x20]
mov edi, dword [0x1018d63c]
mov ecx, dword [esp + 0x14]
lea eax, [edi + edx]
cdq
cmp edx, ecx
jg 0x100cd8d1
jl 0x100cd8cb
cmp eax, dword [esp + 0x10]
jae 0x100cd8d1
mov dword [esp + 0x4c], edx
jmp 0x100cd8d9
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
lea eax, [edi + ecx]
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
test ebx, ebx
jne 0x100cda10
jmp 0x100cd900
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x24], edx
jg 0x100cdb6a
jl 0x100cd91e
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x20], eax
jae 0x100cdb6a
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
push edi
mov dword [esp + 0x44], 0
call fcn.10138fa0
inc eax
push eax
mov eax, dword [esp + 0x3c]
xor ecx, ecx
call fcn.100c02b0
mov esi, dword [esp + 0x38]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100cd97e
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
push ebx
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
add esp, 0x14
mov ebx, eax
test esi, esi
je 0x100cd9f5
test byte [esi + 0x18], 0x40
mov edi, dword [esi + 0x10]
je 0x100cd9d3
dec dword [edi + 0x78]
mov ecx, dword [edi + 0x88]
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x88], esi
mov eax, dword [eax]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x14]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x98]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.10138f60
push edx
push eax
mov eax, dword [edi + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x48]
call edx
add esp, 0x10
jmp 0x100cd9da
mov eax, esi
call fcn.100bb860
cmp dword [edi + 0x78], 0
jne 0x100cd9f5
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x100cd9f5
push edi
call fcn.100bdc00
add esp, 4
mov ecx, dword [esp + 0x40]
add dword [esp + 0x20], ecx
mov edx, dword [esp + 0x44]
adc dword [esp + 0x24], edx
test ebx, ebx
je 0x100cd900
mov esi, dword [ebp + 8]
cmp dword [esp + 0x38], 0
je 0x100cdaff
mov eax, dword [esi + 0x18]
push 0
call fcn.100c70b0
mov eax, dword [esi + 0x18]
add esp, 4
cmp byte [eax + 8], 0
mov dword [esp + 0x10], eax
je 0x100cdaff
mov edi, eax
call fcn.100c3c30
mov eax, edi
cmp byte [eax + 8], 2
jne 0x100cdad0
mov ecx, edi
mov ecx, dword [ecx + 4]
mov edi, dword [ecx]
mov eax, dword [edi + 0x28]
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x100cdd93
cmp byte [edi + 0xf], 2
jne 0x100cdd5d
cmp byte [edi + 4], al
je 0x100cdd5d
cmp byte [edi + 5], 1
jne 0x100cdd5d
mov byte [edi + 0xf], 1
mov edi, dword [ecx + 0x3c]
mov byte [ecx + 0x14], 1
mov dword [esp + 0x3c], edi
test edi, edi
je 0x100cdac9
cmp dword [edi + 8], 0
je 0x100cdabc
add edi, 0xc
mov dword [esp + 0x38], 0x7d
mov ecx, dword [edi]
push ecx
call fcn.100bb3a0
add esp, 4
add edi, 4
sub dword [esp + 0x38], 1
jne 0x100cdaa3
mov edi, dword [esp + 0x3c]
push edi
call fcn.100b4950
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [ecx + 0x3c], 0
mov edi, dword [esp + 0x10]
call fcn.100c7160
mov edx, edi
cmp byte [edx + 9], 0
je 0x100cdaff
add dword [edi + 0xc], 0xffffffff
jne 0x100cdaff
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x100cdafb
push eax
call dword [0x1018e8ec]
add esp, 4
mov byte [edi + 0xa], 0
cmp ebx, 0xc0a
jne 0x100cdb0c
mov ebx, 7
mov dword [esi + 0x1c], ebx
mov eax, dword [esi]
test eax, eax
je 0x100cdb26
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100cdb26
push eax
call dword [0x1018e8ec]
add esp, 4
mov edi, dword [esi + 0x18]
cmp byte [edi + 9], 0
je 0x100cdb4d
add dword [edi + 0xc], 0xffffffff
jne 0x100cdb4d
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x100cdb49
push eax
call dword [0x1018e8ec]
add esp, 4
mov byte [edi + 0xa], 0
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x100cdb61
push eax
call dword [0x1018e8ec]
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x100cda0d
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x48]
push ecx
push esi
call edx
add esp, 8
test eax, eax
jne 0x100cdbb3
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
cmp edx, ecx
jl 0x100cdbb3
jg 0x100cdba2
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x10]
jbe 0x100cdbb3
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push esi
call edx
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x100cda0d
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 7], al
jne 0x100cdbde
movzx eax, byte [ecx + 0xb]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
mov esi, dword [ebp + 8]
add esp, 8
jmp 0x100cdc14
mov ecx, dword [ecx + 0x3c]
cmp dword [ecx], 0
je 0x100cdbfc
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 8
push ecx
call eax
add esp, 0xc
cmp eax, 0xc
jne 0x100cdbfc
xor eax, eax
mov esi, dword [ebp + 8]
jmp 0x100cdc14
mov eax, dword [esp + 0x28]
push 0
push 0
mov dword [eax + 0x18], edi
call fcn.100c0c20
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x100cda10
mov edi, dword [esi + 4]
cmp byte [edi + 8], al
je 0x100cdcea
call fcn.100c3c30
cmp byte [edi + 8], 2
jne 0x100cdcc1
mov eax, dword [edi + 4]
mov ebx, dword [eax]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x100cdc50
mov ebx, ecx
jmp 0x100cdd24
cmp byte [ebx + 0xf], 2
jne 0x100cdcf4
cmp byte [ebx + 4], 0
je 0x100cdcf4
cmp byte [ebx + 5], 1
jne 0x100cdcf4
mov byte [ebx + 0xf], 1
mov ecx, dword [eax + 0x3c]
mov byte [eax + 0x14], 1
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x100cdcba
cmp dword [ecx + 8], 0
je 0x100cdca9
mov ebx, ecx
add ebx, 0xc
mov dword [esp + 0x34], 0x7d
mov eax, dword [ebx]
push eax
call fcn.100bb3a0
add esp, 4
add ebx, 4
sub dword [esp + 0x34], 1
jne 0x100cdc94
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100b4950
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [eax + 0x3c], 0
call fcn.100c7160
cmp byte [edi + 9], 0
je 0x100cdcea
add dword [edi + 0xc], 0xffffffff
jne 0x100cdcea
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x100cdce6
push eax
call dword [0x1018e8ec]
add esp, 4
mov byte [edi + 0xa], 0
mov ebx, 0x65
jmp 0x100cda10
movzx ecx, byte [ebx + 0x12]
push 1
push ecx
mov eax, ebx
call fcn.100bda10
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x100cdd17
cmp ecx, 0xa
jne 0x100cdd1e
mov dword [ebx + 0x28], eax
mov byte [ebx + 0xf], 6
mov ebx, eax
mov eax, dword [esp + 0x2c]
test ebx, ebx
je 0x100cdc72
cmp byte [edi + 9], 0
je 0x100cda10
add dword [edi + 0xc], 0xffffffff
jne 0x100cda10
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x100cdd54
push eax
call dword [0x1018e8ec]
add esp, 4
mov byte [edi + 0xa], 0
jmp 0x100cda10
movzx edx, byte [edi + 0x12]
push 1
push edx
mov eax, edi
call fcn.100bda10
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x100cdd80
cmp ecx, 0xa
jne 0x100cdd87
mov dword [edi + 0x28], eax
mov byte [edi + 0xf], 6
mov ecx, dword [esp + 0x34]
test eax, eax
je 0x100cda83
mov eax, dword [esp + 0x10]
cmp byte [eax + 9], 0
je 0x100cdaff
add dword [eax + 0xc], 0xffffffff
jne 0x100cdaff
mov ecx, eax
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x100cddc1
push eax
call dword [0x1018e8ec]
add esp, 4
mov eax, dword [esp + 0x10]
mov byte [eax + 0xa], 0
jmp 0x100cdaff