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

Disassembly:
push 4
pop eax
cmp dx, ax
jne 0x100b0133
test ecx, ecx
jne 0x100c6266
mov eax, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call dword [eax + 0x24]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
jmp 0x100c626a
mov ecx, dword [esp + 0x38]
push dword [0x100b0338]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [esp + 0x10]
push edx
test eax, eax
jne 0x1012e9fc
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x1001b89c
push eax
call dword [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x24]
call fcn.1000b090
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x44], eax
cmp dword [esp + 0x20], ecx
jne 0x100b0242
cmp eax, 2
je 0x1012eace
cmp dword [esp + 0x2c], 0
jne 0x100b0242
mov eax, dword [esp + 0x24]
xor ecx, ecx
inc ecx
push ecx
mov ecx, dword [eax + 0x14]
push 0
call fcn.1004715e
push 8
pop ebx
mov esi, eax
cmp dword [esp + 0x44], ebx
jne 0x100b0205
cmp esi, 0x80029c84
je 0x100b023e
cmp esi, 0x800a9c64
je 0x1012ea46
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
js 0x100c6298
mov dx, word [esp + 0x40]
jmp 0x100c6224
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
jmp 0x100c6241
xor eax, eax
inc eax
cmp esi, eax
je 0x1012e962
jmp 0x100c60e7
xor esi, esi
jmp 0x100b0205
push 8
pop ebx
jmp 0x100b0205
push 8
pop eax
cmp dx, ax
jne 0x100b0143
jmp 0x1012eae2
mov esi, 0x800a88cb
jmp 0x100c6298
mov esi, 0x80028027
jmp 0x100c6298
mov ecx, dword [esp + 0x1c]
jmp 0x100c627f
mov eax, dword [esp + 0x18]
dec eax
cmp dword [esp + 0x20], eax
jne 0x100b0262
cmp dx, bx
je 0x1012ea5d
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
lea edx, [esp + 0x28]
push edx
call dword [eax + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push 0x1002b91c
push eax
call dword [ecx]
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 0x14]
mov ebx, dword [eax + 0x24]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x2c], ecx
jne 0x100b3508
mov eax, dword [edi + 8]
cmp ebx, dword [eax + 0x24]
je 0x100b3508
xor eax, eax
push ecx
mov ecx, dword [ebx + 0x14]
inc eax
push eax
call fcn.1004715e
mov esi, eax
test esi, esi
js 0x1012ea8b
cmp dword [0x1023d0e4], 0
jne 0x1012ea79
test esi, esi
js 0x100c6298
mov dx, word [esp + 0x40]
jmp 0x100c6221
sub esp, 0xec
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xf4]
push ebp
mov ebp, dword [esp + 0xf4]
push esi
push edi
push ebp
mov edi, ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x2c], eax
call fcn.1001b903
movzx esi, word [eax + 2]
and esi, 3
cmp esi, 2
je 0x1012e936
xor eax, eax
inc eax
test esi, esi
jne 0x1012e940
push ebx
lea ebx, [eax + eax]
mov dword [esp + 0x18], eax
xor eax, eax
inc eax
push eax
push 0
lea eax, [esp + 0x88]
push eax
push ebx
push 0
push 0x78
lea ecx, [esp + 0x8c]
call fcn.1015692e
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1012e958
test esi, esi
jne 0x100b022e
push ebp
mov ecx, edi
call fcn.1001b903
mov ax, word [eax + 6]
mov ecx, dword [esp + 0x30]
mov word [ecx], ax
or dword [esp + 0x3c], 0xffffffff
mov ecx, dword [edi + 8]
xor ebp, ebp
xor ebx, ebx
inc ebp
mov word [esp + 0x40], bp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [ecx + 0x24]
mov eax, dword [eax + 0x5c]
add eax, 0x20c
test byte [ecx + 0x96], 0x10
mov dword [esp + 0x6c], eax
jne 0x1012e989
call fcn.1001f0cc
test eax, eax
jne 0x1012e989
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x24]
mov ebp, dword [eax + 0x5c]
mov dword [esp + 0x50], ebx
mov eax, dword [ebp + 0x1b4]
mov dword [esp + 0x60], eax
xor eax, eax
inc eax
mov dword [ebp + 0x1b4], eax
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.10048615
mov esi, eax
test esi, esi
js 0x100c6298
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x54]
push eax
mov ecx, ebp
call fcn.10052364
mov esi, eax
test esi, esi
js 0x100c6298
mov ecx, dword [edi + 8]
lea eax, [esp + 0x70]
push eax
call fcn.100485c5
mov esi, eax
test esi, esi
js 0x100c6298
mov eax, ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x18], eax
jbe 0x100b026c
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x50], 0
mov ecx, dword [esp + 0x30]
movzx ecx, word [ecx + eax*2]
mov dword [esp + 0x4c], ecx
jne 0x1012e9bd
cmp ebx, dword [esp + 0x70]
je 0x100c61da
cmp ebx, dword [esp + 0x54]
je 0x100c61da
cmp ebx, dword [esp + 0x68]
jne 0x1012e9f2
xor edx, edx
mov eax, dword [ebx]
lea esi, [esp + 0x34]
push esi
push edx
push 0
push ecx
xor ecx, ecx
inc ecx
push ecx
mov ecx, ebx
call dword [eax + 0x48]
mov esi, eax
test esi, esi
js 0x100c6298
mov dx, word [esp + 0x40]
push 0xa
pop ebx
cmp dx, 6
je 0x100b3479
cmp dx, bx
je 0x100b3479
push 4
pop eax
cmp dx, ax
je 0x100b016a
push 8
pop ebx
xor eax, eax
inc eax
cmp dx, ax
je 0x100b0262
mov ecx, dword [esp + 0x34]
cmp dx, bx
jne 0x100b0221
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
dec eax
cmp dword [esp + 0x20], eax
jne 0x100b0247
cmp dx, 5
je 0x100b0258
push 8
pop eax
cmp dx, ax
jne 0x100b0123
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x18]
jb 0x100c61ad
xor ebx, ebx
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x1012eaf2
push ebx
push ecx
push dword [esp + 0x60]
mov ecx, edi
call fcn.1001ef7a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100c62a6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x1b4], eax
lea ecx, [esp + 0x74]
call fcn.1000cead
mov eax, esi
pop ebx
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10001e57
add esp, 0xec
ret 8
mov eax, 0x800a0033
jmp 0x100c62bc
push ebp
mov ecx, edi
call fcn.1001b903
movzx ecx, word [eax + 6]
mov eax, dword [edi + 0x68]
movzx eax, word [ecx + eax]
jmp 0x100c6095
mov esi, 0x8007000e
jmp 0x100c62b0
push ebx
push ebp
mov ecx, edi
call fcn.1001b903
movzx ecx, word [eax + 6]
mov eax, dword [edi + 0x68]
add eax, 2
add eax, ecx
push eax
push dword [esp + 0x38]
call sub.msvcr100.dll_memcpy
add esp, 0xc
jmp 0x100c60e7
mov ecx, dword [edi + 8]
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x54], ebp
call fcn.1001edf0
mov esi, eax
test esi, esi
js 0x100c62b0
mov eax, dword [esp + 0x64]
mov ebp, dword [eax + 0xe0]
lea eax, [ebp + 0x20c]
mov dword [esp + 0x5c], eax
jmp 0x100c613b
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x5c]
cmp eax, edx
je 0x100c61c4
lea esi, [esp + 0x4c]
push esi
push edx
push ecx
mov ecx, eax
call fcn.1006ab76
mov esi, eax
test esi, esi
js 0x100c6298
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
jmp 0x100c61c4
xor eax, eax
lea edx, [eax + 1]
jmp 0x100c61dc
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
push 0x1006e378
push eax
call dword [ecx]
cmp dword [esp + 0x10], 0
je 0x100b0262
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x14]
call fcn.1015692e
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
js 0x1012eabb
and dword [esp + 0x10], 0
mov dx, word [esp + 0x40]
push 8
mov dword [esp + 0x38], ecx
pop ebx
jmp 0x100c6234
mov eax, 0x9c84
cmp word [0x10239122], ax
je 0x100b023e
jmp 0x100b0205
mov ecx, dword [esp + 0x14]
push dword [0x10058e88]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x100b3491
jmp 0x100b0262
mov eax, dword [ebx + 0x14]
xor ecx, ecx
inc ecx
cmp dword [eax + 0xd0], ecx
jne 0x100b3508
mov ecx, ebp
call fcn.1001bef6
movzx eax, word [ebp + 0xc9c]
test al, 0x40
je 0x1012eaa9
or eax, 0x80
mov word [ebp + 0xc9c], ax
test esi, esi
js 0x100c6298
mov esi, 0x80028027
jmp 0x100b3508
test ecx, ecx
je 0x100c6298
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x100c6298
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
mov esi, 0x800a88d0
call dword [ecx + 8]
jmp 0x100c6298
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, 0x80028ca0
jmp 0x100c6298
mov dword [eax], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x100c6298