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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x101170e4]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 8]
add eax, ecx
push edi
mov dword [esp + 0x20], eax
mov dword [esi], ecx
mov edi, dword [ebx]
mov dword [esp + 0x18], 0
lea edx, [edi + ecx]
mov dword [esp + 0x14], edx
mov dword [esi + 4], edx
cmp edx, eax
jne 0x100d8aa3
mov dword [ebx], edi
jmp 0x100d9303
xor al, al
mov byte [esp + 0xf], al
nop dword [eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x100d8c9c
mov cl, byte [edx]
xor al, al
movzx edx, cl
mov byte [esp + 0xf], al
cmp edx, 0x7f
ja 0x100d8b1d
mov eax, dword [esi + 0x74]
mov ecx, dword [eax - 4]
mov eax, edx
cdq
mov dword [ecx], 2
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
inc dword [esi + 4]
lea ecx, [esi + 0x14]
push esi
call fcn.100d77a0
mov ecx, eax
test ecx, ecx
je 0x100d92e3
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov dword [ebx], eax
mov eax, ecx
mov dword [esi + 0xc], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.1008511a
mov esp, ebp
pop ebp
ret 0xc
cmp edx, 0xe0
jb 0x100d8b57
movsx eax, cl
mov ecx, dword [esi + 0x74]
cdq
mov ecx, dword [ecx - 4]
test edx, edx
jl 0x100d8b48
jg 0x100d8b39
test eax, eax
jb 0x100d8b48
mov dword [ecx + 8], eax
mov eax, 2
mov dword [ecx + 0xc], edx
mov dword [ecx], eax
jmp 0x100d8ae0
mov dword [ecx + 8], eax
mov eax, 3
mov dword [ecx + 0xc], edx
mov dword [ecx], eax
jmp 0x100d8ae0
cmp edx, 0xc4
jb 0x100d8cb7
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], 2
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], 4
mov dword [esp + 0x78], 4
mov dword [esp + 0x7c], 8
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], 2
mov dword [esp + 0x88], 4
mov dword [esp + 0x8c], 8
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 2
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 8
mov dword [esp + 0xa0], 2
mov dword [esp + 0xa4], 3
mov dword [esp + 0xa8], 5
mov dword [esp + 0xac], 9
mov dword [esp + 0xb0], 0x11
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 2
mov dword [esp + 0xbc], 4
mov dword [esp + 0xc0], 2
mov dword [esp + 0xc4], 4
mov dword [esp + 0xc8], 2
mov dword [esp + 0xcc], 4
mov eax, dword [esp + edx*4 - 0x2b0]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
movsx ecx, byte [eax]
mov al, 1
and ecx, 0x1f
mov byte [esp + 0xf], al
mov dword [esi + 0xc], ecx
mov dl, al
test ecx, ecx
jne 0x100d8e71
mov byte [esp + 0xf], al
test dl, dl
je 0x100d92ee
jmp 0x100d8e75
lea eax, [edx - 0xa0]
cmp eax, 0x1f
ja 0x100d8d25
movsx eax, cl
and eax, 0x1f
mov dword [esi + 8], eax
jne 0x100d8d0c
push 0
push dword [esp + 0x1c]
lea ecx, [esi + 0x40]
call fcn.100cd520
mov ecx, dword [esi + 4]
inc ecx
mov dword [esi + 4], ecx
test al, al
je 0x100d931c
push esi
lea ecx, [esi + 0x14]
call fcn.100d77a0
mov ecx, eax
test ecx, ecx
jne 0x100d9003
mov al, byte [esp + 0xf]
xor edx, edx
mov ebx, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
jmp 0x100d8c9c
mov ebx, dword [esp + 0x1c]
mov ecx, 0x20
mov al, 1
mov edx, ecx
mov byte [esp + 0xf], al
mov dword [esi + 0xc], edx
jmp 0x100d8c9c
lea eax, [edx - 0x90]
cmp eax, 0xf
ja 0x100d8d96
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x40]
and edx, 0xf
mov dword [esp + 0x10], edx
lea eax, [eax + 1]
mov dword [esi + 4], eax
jne 0x100d8d52
push 0
call fcn.100cd210
jmp 0x100d927c
push edx
call fcn.100cd210
test al, al
je 0x100d933e
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
cmp edx, dword [ecx + 8]
je 0x100d8d8d
mov dword [edx], 0
mov dword [edx + 4], eax
add dword [ecx + 4], 8
jmp 0x100d92e3
lea eax, [esp + 0x30]
jmp 0x100d92dc
lea eax, [edx - 0x80]
cmp eax, 0xf
ja 0x100d8dfc
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x40]
and edx, 0xf
mov dword [esp + 0x10], edx
lea eax, [eax + 1]
mov dword [esi + 4], eax
je 0x100d9275
push edx
call fcn.100cd2f0
test al, al
je 0x100d933e
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], eax
cmp edx, dword [ecx + 8]
je 0x100d8df3
mov dword [edx], 1
mov dword [edx + 4], eax
add dword [ecx + 4], 8
jmp 0x100d92e3
lea eax, [esp + 0x38]
jmp 0x100d92dc
cmp edx, 0xc2
jne 0x100d8e19
mov eax, dword [esi + 0x74]
mov eax, dword [eax - 4]
mov dword [eax], 1
mov byte [eax + 8], 0
jmp 0x100d8ae0
cmp edx, 0xc3
jne 0x100d8e36
mov eax, dword [esi + 0x74]
mov eax, dword [eax - 4]
mov dword [eax], 1
mov byte [eax + 8], 1
jmp 0x100d8ae0
cmp edx, 0xc0
jne 0x100d9373
mov eax, dword [esi + 0x74]
lea ecx, [esi + 0x14]
push esi
mov eax, dword [eax - 4]
mov dword [eax], 0
inc dword [esi + 4]
call fcn.100d77a0
mov ecx, eax
test ecx, ecx
jne 0x100d8af6
mov al, byte [esp + 0xf]
mov byte [esp + 0xf], al
jmp 0x100d92e7
test al, al
je 0x100d8e7e
inc dword [esi + 4]
xor al, al
mov byte [esp + 0xf], al
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x18], edx
cmp eax, dword [esi + 8]
jb 0x100d92ff
mov eax, dword [esi + 8]
add ecx, 0xfffffffc
lea ebx, [eax + edx]
mov dword [esp + 0x14], ebx
dec ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x1c]
cmp ecx, 0x1e
ja case.default.0x100d8eb6
jmp dword [ecx*4 + 0x100d93b0]
mov eax, dword [edx]
bswap eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x74]
movss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
mov eax, dword [eax - 4]
mov dword [eax], 0xa
movsd qword [eax + 8], xmm0
jmp 0x100d8ae0
mov eax, dword [edx + 4]
mov ecx, dword [edx]
bswap eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x74]
bswap ecx
mov dword [esp + 0x44], ecx
movsd xmm0, qword [esp + 0x40]
mov eax, dword [eax - 4]
mov dword [eax], 4
movsd qword [eax + 8], xmm0
jmp 0x100d8ae0
mov ecx, dword [esi + 0x74]
movzx eax, byte [edx]
mov ecx, dword [ecx - 4]
jmp 0x100d8ad3
mov ax, word [edx]
mov ch, al
mov cl, ah
movzx eax, cx
mov ecx, dword [esi + 0x74]
mov ecx, dword [ecx - 4]
jmp 0x100d8ad3
mov eax, dword [esi + 0x74]
mov ecx, dword [edx]
bswap ecx
mov eax, dword [eax - 4]
mov dword [eax], 2
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
jmp 0x100d8ae0
mov eax, dword [esp + 0x18]
mov edx, dword [edx]
bswap edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x74]
bswap ecx
mov eax, dword [eax - 4]
mov dword [eax], 2
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x100d8ae0
movsx eax, byte [edx]
jmp 0x100d8b28
mov ax, word [edx]
mov ch, al
mov cl, ah
movsx eax, cx
jmp 0x100d8b28
mov eax, dword [edx]
bswap eax
jmp 0x100d8b28
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, eax
mov eax, dword [esi + 0x74]
bswap edx
bswap ecx
mov eax, dword [eax - 4]
test edx, edx
jl 0x100d8fc4
jg 0x100d8fb2
test ecx, ecx
jb 0x100d8fc4
mov dword [eax + 8], ecx
mov ecx, 2
mov dword [eax + 0xc], edx
mov dword [eax], ecx
jmp 0x100d8ae0
mov dword [eax + 8], ecx
mov ecx, 3
mov dword [eax + 0xc], edx
mov dword [eax], ecx
jmp 0x100d8ae0
push 2
push edx
lea ecx, [esi + 0x40]
call fcn.100cd480
mov ecx, dword [esi + 4]
inc ecx
mov dword [esi + 4], ecx
test al, al
je 0x100d931c
push esi
lea ecx, [esi + 0x14]
call fcn.100d77a0
mov ecx, eax
test ecx, ecx
je 0x100d92e3
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov dword [ebx], eax
mov eax, ecx
mov dword [esi + 0xc], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.1008511a
mov esp, ebp
pop ebp
ret 0xc
push 3
jmp 0x100d8fd8
push 5
jmp 0x100d8fd8
push 9
jmp 0x100d8fd8
push 0x11
jmp 0x100d8fd8
movzx eax, byte [edx]
mov dword [esi + 8], eax
test eax, eax
jne 0x100d9050
push eax
push edx
lea ecx, [esi + 0x40]
call fcn.100cd520
jmp 0x100d8fe1
mov al, 1
mov dword [esi + 0xc], 0x20
mov byte [esp + 0xf], al
jmp 0x100d92ee
movzx eax, byte [edx]
mov dword [esi + 8], eax
test eax, eax
jne 0x100d907b
push eax
push edx
lea ecx, [esi + 0x40]
call fcn.100cd3e0
jmp 0x100d8fe1
mov al, 1
mov dword [esi + 0xc], 0x21
mov byte [esp + 0xf], al
jmp 0x100d92ee
movzx eax, byte [edx]
inc eax
mov dword [esi + 8], eax
mov al, 1
mov dword [esi + 0xc], 0x22
mov byte [esp + 0xf], al
jmp 0x100d92ee
mov ax, word [edx]
mov ch, al
mov cl, ah
movzx eax, cx
jmp 0x100d903d
mov ax, word [edx]
mov ch, al
mov cl, ah
movzx eax, cx
jmp 0x100d9065
mov ax, word [edx]
mov ch, al
mov cl, ah
movzx eax, cx
jmp 0x100d9090
mov eax, dword [edx]
bswap eax
jmp 0x100d903d
mov eax, dword [edx]
bswap eax
jmp 0x100d9065
mov eax, dword [edx]
bswap eax
cmp eax, 0xffffffff
je 0x100d9393
add eax, 1
mov dword [esi + 8], eax
jne 0x100d9094
push 0
jmp 0x100d8fd8
push eax
push edx
lea ecx, [esi + 0x40]
call fcn.100cd520
jmp 0x100d8fe1
push eax
push edx
lea ecx, [esi + 0x40]
call fcn.100cd3e0
jmp 0x100d8fe1
push eax
jmp 0x100d8fd8
mov ax, word [edx]
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x14]
movzx ecx, cx
mov dword [esp + 0x10], ecx
mov dword [esi + 4], eax
test cx, cx
jne 0x100d9142
push 0
lea ecx, [esi + 0x40]
call fcn.100cd210
jmp 0x100d927c
movzx eax, cx
lea ecx, [esi + 0x40]
push eax
call fcn.100cd210
test al, al
je 0x100d933e
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x14]
movzx edx, ax
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], edx
cmp eax, dword [ecx + 8]
je 0x100d9186
mov dword [eax], 0
mov dword [eax + 4], edx
add dword [ecx + 4], 8
jmp 0x100d92e3
lea edx, [esp + 0x48]
push edx
push eax
jmp 0x100d92de
mov ecx, dword [edx]
mov eax, dword [esp + 0x14]
bswap ecx
mov dword [esp + 0x10], ecx
mov dword [esi + 4], eax
test ecx, ecx
jne 0x100d91b2
push ecx
lea ecx, [esi + 0x40]
call fcn.100cd210
jmp 0x100d927c
push ecx
lea ecx, [esi + 0x40]
call fcn.100cd210
test al, al
je 0x100d933e
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
cmp edx, dword [ecx + 8]
je 0x100d91f0
mov dword [edx], 0
mov dword [edx + 4], eax
add dword [ecx + 4], 8
jmp 0x100d92e3
lea eax, [esp + 0x50]
jmp 0x100d92dc
mov ax, word [edx]
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x14]
movzx ecx, cx
mov dword [esp + 0x10], ecx
mov dword [esi + 4], eax
test cx, cx
je 0x100d9272
movzx eax, cx
lea ecx, [esi + 0x40]
push eax
call fcn.100cd2f0
test al, al
je 0x100d933e
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x14]
movzx edx, ax
mov eax, dword [ecx + 4]
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], edx
cmp eax, dword [ecx + 8]
je 0x100d9257
mov dword [eax], 1
mov dword [eax + 4], edx
add dword [ecx + 4], 8
jmp 0x100d92e3
lea edx, [esp + 0x58]
push edx
push eax
jmp 0x100d92de
mov ecx, dword [edx]
mov eax, dword [esp + 0x14]
bswap ecx
mov dword [esp + 0x10], ecx
mov dword [esi + 4], eax
test ecx, ecx
jne 0x100d929d
lea ecx, [esi + 0x40]
push 0
call fcn.100cd2f0
test al, al
je 0x100d933e
add dword [esi + 0x74], 0xfffffffc
lea ecx, [esi + 0x14]
push esi
call fcn.100d77a0
mov ecx, eax
test ecx, ecx
jne 0x100d9343
jmp 0x100d92e3
push ecx
lea ecx, [esi + 0x40]
call fcn.100cd2f0
test al, al
je 0x100d933e
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
cmp edx, dword [ecx + 8]
je 0x100d92d8
mov dword [edx], 1
mov dword [edx + 4], eax
add dword [ecx + 4], 8
jmp 0x100d92e3
lea eax, [esp + 0x24]
push eax
push edx
call fcn.100d2610
mov al, byte [esp + 0xf]
mov dword [esi + 0xc], 0
mov edx, dword [esi + 4]
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x20]
jne 0x100d8ab0
sub edx, dword [esi]
mov dword [ebx], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.1008511a
mov esp, ebp
pop ebp
ret 0xc
sub ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, 0xfffffffe
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.1008511a
mov esp, ebp
pop ebp
ret 0xc
mov ecx, 0xfffffffe
mov eax, dword [esi + 4]
sub eax, dword [esi]
pop edi
mov dword [ebx], eax
mov eax, ecx
mov ecx, dword [esp + 0xd0]
pop esi
pop ebx
xor ecx, esp
call fcn.1008511a
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x10]
sub eax, dword [esi]
mov dword [ebx], eax
sub edx, dword [esi]
push edx
lea eax, [edx - 1]
jmp 0x100d937d
mov eax, dword [esp + 0x14]
sub eax, dword [esi]
mov dword [ebx], eax
push eax
dec eax
push eax
mov ecx, esi
call fcn.1000b300
mov ecx, eax
call fcn.100dc2a0
mov ecx, eax
call fcn.100cd1f0
push str.ext_size_overflow
lea ecx, [esp + 0x28]
call fcn.100cbe60
push 0x10112f4c
lea eax, [esp + 0x28]
push eax
call fcn.100896e3
bound edx, qword [eax - 0x6f4deff3]
or eax, 227595024
adc byte [ebp - 0x41eff270], cl
nop
or eax, 0xd90d910
adc byte [ebp - 0x1beff272], bh
mov cs, word [0xd8f1110]
adc byte [edi], bl
invalid