Function at 0x100d7d10
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
lea esp, [esp - 0xe4]
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x6c], eax
pxor xmm0, xmm0
mov eax, dword [0x104c5878]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, 3
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
movdqa xmmword [esp + eax*4 + 0x94], xmm0
lea eax, [eax + 4]
cmp eax, 0xf
jb 0x100d7d5d
movzx esi, word [edx + 2]
test esi, esi
je 0x100d7d88
mov dword [esp + 0x94], 0
mov ebx, 1
jmp 0x100d7d8c
xor esi, esi
xor ebx, ebx
movzx eax, word [edx + 4]
add esi, esi
test eax, eax
je 0x100d7da4
mov dword [esp + 0x98], esi
add esi, eax
mov ebx, 2
movzx eax, word [edx + 6]
add esi, esi
test eax, eax
je 0x100d7dbc
mov dword [esp + 0x9c], esi
add esi, eax
mov ebx, 3
movzx eax, word [edx + 8]
add esi, esi
test eax, eax
je 0x100d7dd4
mov dword [esp + 0xa0], esi
add esi, eax
mov ebx, 4
movzx eax, word [edx + 0xa]
add esi, esi
test eax, eax
je 0x100d7dec
mov dword [esp + 0xa4], esi
add esi, eax
mov ebx, 5
movzx eax, word [edx + 0xc]
add esi, esi
test eax, eax
je 0x100d7e04
mov dword [esp + 0xa8], esi
add esi, eax
mov ebx, 6
movzx eax, word [edx + 0xe]
add esi, esi
test eax, eax
je 0x100d7e1c
mov dword [esp + 0xac], esi
add esi, eax
mov ebx, 7
movzx eax, word [edx + 0x10]
add esi, esi
test eax, eax
je 0x100d7e34
mov dword [esp + 0xb0], esi
add esi, eax
mov ebx, 8
movzx eax, word [edx + 0x12]
add esi, esi
test eax, eax
je 0x100d7e4c
mov dword [esp + 0xb4], esi
add esi, eax
mov ebx, 9
movzx eax, word [edx + 0x14]
add esi, esi
test eax, eax
je 0x100d7e64
mov dword [esp + 0xb8], esi
add esi, eax
mov ebx, 0xa
movzx eax, word [edx + 0x16]
add esi, esi
mov dword [esp + 4], eax
test eax, eax
je 0x100d7e82
mov dword [esp + 0xbc], esi
mov ebx, 0xb
add esi, dword [esp + 4]
movzx ecx, word [edx + 0x18]
add esi, esi
test ecx, ecx
je 0x100d7e9a
mov dword [esp + 0xc0], esi
add esi, ecx
mov ebx, 0xc
movzx eax, word [edx + 0x1a]
add esi, esi
test eax, eax
je 0x100d7eb2
mov dword [esp + 0xc4], esi
add esi, eax
mov ebx, 0xd
movzx edi, word [edx + 0x1c]
add esi, esi
mov dword [esp], edi
test edi, edi
je 0x100d7ece
mov dword [esp + 0xc8], esi
mov ebx, 0xe
add esi, dword [esp]
add esi, esi
cmp word [edx + 0x1e], 0
je 0x100d7ee5
mov dword [esp + 0xcc], esi
mov ebx, 0xf
jmp 0x100d7eec
mov esi, dword [esp + 0xcc]
mov dword [esp + 0xe0], esi
mov esi, dword [esp + 4]
add esi, 2
add ecx, esi
add ecx, 4
add eax, ecx
cmp dword [ebp + 0x14], 4
mov dword [esp + 0x78], esi
mov esi, 4
movdqa xmm0, xmmword [esp + 0xc0]
mov dword [esp + 0x7c], ecx
mov ecx, edi
cmovbe esi, dword [ebp + 0x14]
add eax, 8
add ecx, eax
palignr xmm0, xmmword [esp + 0xb0], 0xc
add ecx, 0x10
movdqa xmmword [esp + 0xd0], xmm0
test esi, esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
jle 0x100d8232
mov dword [esp + 0x68], ebx
lea ecx, [ebx - 0xa]
mov dword [esp + 0x34], ecx
xor eax, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x6c]
movzx ebx, word [edx + eax*2]
inc eax
test ebx, ebx
je 0x100d8220
movzx esi, bl
mov edx, dword [esp + ebx*4 + 0x90]
inc dword [esp + ebx*4 + 0x90]
cmp esi, 0xa
jg 0x100d7fef
mov edi, edx
mov ecx, esi
and edi, 0x1f
neg ecx
sar edx, 5
add ecx, 0xa
movzx edi, byte [edi + 0x1042f3e0]
shl edi, 5
movzx edx, byte [edx + 0x1042f3e0]
or edi, edx
shr edi, cl
mov ecx, esi
mov edx, 1
shl edx, cl
cmp edi, 0x400
jge 0x100d8220
mov ecx, dword [esp + 0x4c]
mov word [ecx + edi*2], ax
mov byte [edi + ecx + 0xa00], bl
lea edi, [edi + edx]
cmp edi, 0x400
jl 0x100d7fd4
jmp 0x100d8220
mov esi, edx
lea ecx, [ebx - 0xa]
sar esi, cl
mov edi, esi
and edi, 0x1f
mov dword [esp + 8], esi
sar esi, 5
mov dword [esp + 0x10], ecx
movzx edi, byte [edi + 0x1042f3e0]
shl edi, 5
movzx esi, byte [esi + 0x1042f3e0]
or edi, esi
mov esi, dword [esp + ecx*4 + 0xcc]
mov dword [esp + 0xc], esi
mov esi, 1
shl esi, cl
dec esi
mov dword [esp + 0x14], edi
mov edi, ecx
mov dword [esp + 4], esi
cmp ecx, dword [esp + 0x34]
jge 0x100d8095
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
mov ebx, esi
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x30]
mov ecx, edi
inc ecx
cmp word [eax + edi*2 + 0x16], 0
je 0x100d8072
mov edx, dword [esp + edi*4 + 0xd0]
sar edx, cl
cmp esi, edx
jne 0x100d807a
mov ebx, edi
mov edi, ecx
cmp ecx, dword [esp + 0x34]
jl 0x100d8058
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x18], 0
jne 0x100d80ff
mov dword [esp + 0x24], eax
mov esi, 0x3ff
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
sub edx, dword [esp + 0xc]
and eax, dword [esp + 4]
add edx, eax
mov eax, dword [esp + 0x10]
mov ecx, eax
shl esi, cl
mov edi, dword [esp + 0x4c]
and edx, esi
mov esi, dword [esp + 0x14]
add edx, dword [esp + eax*4 + 0x70]
mov eax, dword [esp + 0x24]
mov word [edi + esi*2], dx
mov edx, dword [esp + 0x1c]
mov byte [esi + edi + 0xa00], bl
and edx, dword [esp + 4]
movzx ecx, word [edi + esi*2]
add ecx, edx
mov word [edi + ecx*2 + 0x800], ax
movzx esi, word [edi + esi*2]
add esi, dword [esp + 0x4c]
mov byte [edx + esi + 0xe00], bl
jmp 0x100d8220
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + ecx*4 + 0x74]
mov word [esi + edi*2], bx
lea ebx, [ecx + 0xb]
sub ecx, dword [esp + 0x10]
and edx, dword [esp + 4]
inc ecx
mov byte [edi + esi + 0xa00], bl
mov esi, 1
shl edx, cl
shl esi, cl
mov dword [esp], esi
add esi, edx
mov ebx, dword [esp + 0x20]
cmp edx, esi
jge 0x100d8220
mov ecx, dword [esp]
mov esi, ecx
shr esi, 0x1f
add esi, ecx
sar esi, 1
mov dword [esp + 0x2c], esi
test esi, esi
jbe 0x100d867f
mov dword [esp + 0x20], ebx
lea esi, [edx + edx]
mov dword [esp + 0x28], esi
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
mov esi, edi
mov ebx, dword [esp + 0x4c]
nop word [eax + eax]
movzx edx, word [ebx + esi*2]
add edx, edx
add edx, ebx
add edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov word [edx + ecx*4 + 0x800], ax
movzx edx, word [ebx + esi*2]
add edx, ebx
add edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov byte [edx + ecx*2 + 0xe00], al
movzx edx, word [ebx + esi*2]
add edx, edx
add edx, ebx
add edx, edi
mov edi, dword [esp + 0x24]
mov word [edx + ecx*4 + 0x802], di
movzx edx, word [ebx + esi*2]
add edx, ebx
add edx, dword [esp + 0x1c]
mov byte [edx + ecx*2 + 0xe01], al
inc ecx
cmp ecx, dword [esp + 0x2c]
jb 0x100d8180
add ecx, ecx
mov edx, dword [esp + 0x1c]
inc ecx
mov ebx, eax
mov eax, edi
cmp ecx, dword [esp]
ja 0x100d8220
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
movzx esi, word [edi + ebx*2]
add esi, edx
add esi, ecx
mov word [edi + esi*2 + 0x7fe], ax
movzx esi, word [edi + ebx*2]
add esi, dword [esp + 0x4c]
add esi, edx
mov edx, dword [esp + 0x20]
mov byte [ecx + esi + 0xdff], dl
cmp eax, dword [esp + 0x38]
jl 0x100d7f70
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
add ebx, 0xfffffff6
mov eax, 4
mov dword [esp + 0x68], ebx
mov ecx, 1
mov dword [esp + 0x30], edx
mov ebx, dword [ebp + 0x14]
cmp eax, ebx
jae 0x100d8662
mov esi, ebx
lea edx, [eax + 2]
cmp edx, ebx
cmovb esi, edx
mov dword [esp + 0x70], esi
cmp eax, esi
jge 0x100d8656
mov edi, eax
mov esi, 1
neg edi
shl esi, cl
add edi, 2
mov dword [esp + 0x64], esi
mov esi, ecx
shl edi, cl
shl esi, 4
mov dword [esp + 0x44], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x6c]
movzx ebx, word [edx + eax*2]
test ebx, ebx
je 0x100d8640
mov edi, dword [esp + 0x44]
mov esi, eax
mov ecx, dword [esp + 0x48]
shl esi, cl
movzx edx, bl
lea edi, [edi + 1]
add esi, edi
mov dword [esp + 0x50], esi
mov esi, dword [esp + ebx*4 + 0x90]
inc dword [esp + ebx*4 + 0x90]
mov dword [esp + 0x40], edx
cmp edx, 0xa
jg 0x100d83d5
mov edx, esi
and edx, 0x1f
sar esi, 5
mov ebx, dword [esp + 0x40]
mov edi, ecx
mov ecx, ebx
movzx edx, byte [edx + 0x1042f3e0]
neg ecx
shl edx, 5
add ecx, 0xa
movzx esi, byte [esi + 0x1042f3e0]
or edx, esi
shr edx, cl
lea ebx, [edi + ebx]
cmp ebx, 0xa
jg 0x100d838f
mov edi, 1
mov esi, 1
mov ecx, dword [esp + 0x40]
shl edi, cl
mov ecx, ebx
shl esi, cl
mov dword [esp + 0x60], esi
cmp dword [esp + 0x64], 0
jle 0x100d8640
mov dword [esp + 0x5c], ebx
xor esi, esi
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x50]
mov eax, edx
cmp edx, 0x400
jge 0x100d837d
mov dword [esp + 0x58], edi
lea ecx, [ebx + esi]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x4c]
mov word [edi + eax*2], cx
mov byte [eax + edi + 0xa00], dl
lea eax, [eax + ebx]
cmp eax, 0x400
jl 0x100d835c
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
inc esi
add edx, edi
cmp esi, dword [esp + 0x64]
jl 0x100d833b
mov eax, dword [esp + 0x10]
jmp 0x100d8640
mov ebx, dword [esp + 0x40]
mov ecx, ebx
mov esi, 1
or ebx, dword [esp + 8]
shl esi, cl
mov dword [esp + 0x40], ebx
cmp edx, 0x400
jge 0x100d8640
mov ecx, ebx
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov word [edi + edx*2], bx
mov byte [edx + edi + 0xa00], cl
lea edx, [edx + esi]
cmp edx, 0x400
jl 0x100d83ba
jmp 0x100d8640
add ebx, 0xfffffff6
mov edi, esi
mov ecx, ebx
sar edi, cl
mov edx, edi
and edx, 0x1f
mov dword [esp + 0x1c], edi
sar edi, 5
movzx edx, byte [edx + 0x1042f3e0]
shl edx, 5
movzx edi, byte [edi + 0x1042f3e0]
or edx, edi
mov edi, 1
shl edi, cl
mov dword [esp + 0x24], edx
dec edi
mov edx, dword [esp + ebx*4 + 0xcc]
mov dword [esp + 0x20], edx
mov edx, ebx
mov dword [esp + 0x18], edi
cmp ebx, dword [esp + 0x68]
jge 0x100d8475
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov esi, edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, edx
inc ecx
cmp word [eax + edx*2 + 0x16], 0
je 0x100d8456
mov ebx, dword [esp + edx*4 + 0xd0]
sar ebx, cl
cmp edi, ebx
jne 0x100d845e
mov esi, edx
mov edx, ecx
cmp ecx, dword [esp + 0x68]
jl 0x100d843c
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x28], 0
jne 0x100d84ee
mov dword [esp + 0x10], eax
mov eax, esi
mov edi, dword [esp + 0x20]
mov ecx, ebx
sub eax, dword [esp + 0x20]
mov edx, 0x3ff
and edi, dword [esp + 0x18]
shl edx, cl
add eax, edi
and eax, edx
add eax, dword [esp + ebx*4 + 0x70]
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
and esi, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov word [edi + ebx*2], ax
mov eax, dword [esp + 0x40]
or eax, 0xffffff80
or eax, dword [esp + 8]
mov byte [ebx + edi + 0xa00], al
movzx edx, word [edi + ebx*2]
add edx, esi
mov eax, dword [esp + 0x50]
mov word [edi + edx*2 + 0x800], ax
movzx ebx, word [edi + ebx*2]
add ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
or edx, ecx
mov eax, dword [esp + 0x10]
mov byte [esi + ebx + 0xe00], dl
jmp 0x100d8640
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + ecx*4 + 0x74]
mov word [edx + edi*2], ax
lea eax, [ecx + 0xb]
sub ecx, ebx
mov ebx, 1
and esi, dword [esp + 0x18]
inc ecx
shl esi, cl
shl ebx, cl
mov dword [esp], ebx
add ebx, esi
mov byte [edi + edx + 0xa00], al
cmp esi, ebx
mov eax, dword [esp + 0x10]
jge 0x100d8640
mov edx, dword [esp]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sar ecx, 1
test ecx, ecx
jbe 0x100d8689
mov edx, dword [esp + 0x40]
or edx, dword [esp + 8]
mov dword [esp + 4], 0
mov dword [esp + 0x3c], edx
lea edx, [esi + esi]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], eax
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x4c]
nop dword [eax + eax]
movzx edx, word [ebx + ecx*2]
add edx, edx
add edx, ebx
add edx, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x34]
mov word [edx + edi*4 + 0x800], ax
movzx edx, word [ebx + ecx*2]
add edx, ebx
add edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov byte [edx + edi*2 + 0xe00], al
movzx edx, word [ebx + ecx*2]
add edx, edx
add edx, ebx
add edx, esi
mov esi, dword [esp + 0x50]
mov word [edx + edi*4 + 0x802], si
movzx edx, word [ebx + ecx*2]
add edx, ebx
add edx, dword [esp + 0x38]
mov byte [edx + edi*2 + 0xe01], al
inc edi
cmp edi, dword [esp + 0x2c]
jb 0x100d8580
mov dword [esp + 4], edi
mov edx, edi
add edx, edx
inc edx
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov dword [esp + 4], edx
mov edx, dword [esp + 4]
cmp edx, dword [esp]
ja 0x100d8640
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x50]
movzx eax, word [edx + ebx*2]
add eax, esi
add eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov word [edx + eax*2 + 0x7fe], di
movzx edx, word [edx + ebx*2]
add edx, dword [esp + 0x4c]
add edx, esi
mov eax, dword [esp + 0x40]
or eax, dword [esp + 8]
mov byte [ecx + edx + 0xdff], al
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x70]
jl 0x100d8291
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov ebx, dword [ebp + 0x14]
inc ecx
mov eax, edx
cmp edx, 0x1e
jl 0x100d824a
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.103b6385
lea esp, [esp + 0xe4]
pop ebx
pop edi
pop esi
lea esp, [ebp]
pop ebp
ret
mov ecx, 1
jmp 0x100d81ea
mov dword [esp + 4], 1
jmp 0x100d85f4