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

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x34]
push edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 0x8e0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x1c]
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0x20]
mov ecx, dword [edi]
mov dword [esp + 0x30], edi
lea edx, [eax + ecx*4]
movzx eax, byte [edi + 8]
xor edi, edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], eax
mov dword [esi + 0xa4], 0
test eax, eax
je 0x1009e4f3
nop word [eax + eax]
mov ecx, dword [edx + edi*4]
mov eax, ecx
shr eax, 0x18
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
movzx ebx, cx
mov dword [esp + 0x20], ecx
mov ecx, ebx
and ecx, 0x1f
mov dword [esp + 0x2c], ecx
lea eax, [eax + ebx*8]
mov dword [esp + 0x24], eax
mov eax, 1
shl eax, cl
test dword [esp + 0x3c], eax
je 0x1009ddb7
xor ecx, ecx
test edi, edi
je 0x1009ddb7
nop dword [eax]
mov edx, dword [edx + ecx*4]
movzx eax, dx
cmp eax, ebx
je 0x1009dda5
mov edx, dword [esp + 0x38]
inc ecx
cmp ecx, edi
jb 0x1009dd90
jmp 0x1009ddb7
shr edx, 0x18
mov edx, dword [esi + edx*4 + 0x1c8]
and edx, 0xfffcffff
jne 0x1009dddd
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
bts eax, ecx
mov dword [esp + 0x3c], eax
cmp ebx, 0x8000
jae 0x1009de09
push dword [esp + 0x24]
push esi
call fcn.1009eb20
add esp, 8
mov edx, eax
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
and ecx, 0x30000
mov eax, ecx
or eax, edx
mov dword [esi + ebx*4 + 0x1c8], eax
test ecx, ecx
je 0x1009de7f
test ebx, ebx
je 0x1009de7f
mov eax, 1
jmp 0x1009de81
mov ecx, dword [esp + 0x24]
movzx eax, word [ecx + 6]
and eax, 0xffffff80
cmp eax, 0x80
jne 0x1009de2b
mov ebx, dword [esp + 0x18]
mov edx, ebx
mov dword [esp + 0x1c], 1
jmp 0x1009dde1
cmp byte [ecx + 5], 0x45
mov dl, byte [ecx + 4]
mov dword [esp + 0x24], 0x21
jne 0x1009de4f
mov ax, word [ecx + 2]
and ax, 0x10
or ax, 0x21
movzx eax, ax
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x18]
and dl, 0x1f
movzx eax, dl
mov ecx, 0x4500
or ax, cx
mov word [esi + 0x74], bx
mov word [esi + 0x78], ax
mov ecx, esi
mov eax, dword [esp + 0x24]
mov word [esi + 0x76], ax
call fcn.1009abf0
mov edx, eax
jmp 0x1009dde1
xor eax, eax
add dword [esi + 0xa4], eax
test dword [esp + 0x20], 0x10000
je 0x1009de97
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
mov edx, dword [esp + 0x38]
inc edi
cmp edi, dword [esp + 0x10]
jb 0x1009dd50
cmp dword [esp + 0x1c], 0
je 0x1009e4f3
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
movzx ecx, word [eax + 4]
mov eax, dword [ebp + 0x10]
lea eax, [eax + ecx*8]
mov ecx, edx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov edi, dword [ecx + eax*4]
mov eax, dword [ebp + 0x10]
movzx edx, di
cmp byte [eax + edx*8 + 6], 0xfd
lea ebx, [eax + edx*8]
mov dword [esp + 0x2c], edx
jne 0x1009e101
shr edi, 0x18
cmp dword [esi + edi*4 + 0x1c8], edi
jne 0x1009e071
movzx edx, word [ebx]
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x1c], 1
cmp edx, eax
jb 0x1009df2c
push edx
push edi
push dword [esp + 0x18]
push ecx
push ebp
push esi
call fcn.1009e9f0
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov ecx, dword [esp + 0x38]
movzx edx, word [ebx + 2]
cmp edx, eax
jb 0x1009df48
push edx
push edi
mov edi, dword [esp + 0x18]
push edi
push ecx
push ebp
push esi
call fcn.1009e9f0
add esp, 0x18
jmp 0x1009df4c
mov edi, dword [esp + 0x10]
cmp byte [ebx + 5], 0x51
jne 0x1009df8c
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [ebp + 8]
jae 0x1009e06d
cmp byte [ebx + 0xd], 0x10
jne 0x1009e06d
movzx eax, word [ebx + 0xa]
mov ebx, dword [esp + 0x3c]
push eax
push ebx
push edi
push dword [esp + 0x44]
push ebp
push esi
call fcn.1009e9f0
mov ecx, dword [esp + 0x50]
add esp, 0x18
jmp 0x1009e075
mov edx, dword [esp + 0x14]
lea edi, [ebx + 8]
cmp edi, edx
jae 0x1009e06d
nop dword [eax + eax]
cmp byte [edi + 6], 0xfe
jne 0x1009e062
mov al, byte [edi + 7]
cmp al, 0xff
je 0x1009dfbd
movzx eax, al
xor ecx, ecx
lea eax, [ebx + eax*8]
cmp eax, edi
jmp 0x1009dfff
mov al, byte [edi + 5]
cmp al, 0x47
je 0x1009dfd4
cmp al, 0x48
je 0x1009dfd4
cmp al, 0x4a
je 0x1009dfd4
cmp al, 0x4b
je 0x1009dfd4
xor ecx, ecx
jmp 0x1009e002
mov ecx, dword [ebp + 0x10]
movzx eax, word [edi]
mov dl, byte [ecx + eax*8 + 5]
lea eax, [ecx + eax*8]
cmp dl, 0x38
je 0x1009dfeb
cmp dl, 0x39
jne 0x1009dff1
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx eax, word [eax]
mov edx, dword [esp + 0x14]
lea eax, [ecx + eax*8]
xor ecx, ecx
cmp eax, ebx
sete cl
test ecx, ecx
je 0x1009e062
movzx eax, word [edi + 2]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.1009e9f0
add esp, 0x18
test eax, eax
jne 0x1009e032
movzx ecx, word [edi + 2]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + ecx*8]
jmp 0x1009e047
mov edx, dword [esp + 0x14]
lea eax, [edi + 8]
cmp eax, edx
jae 0x1009e062
cmp byte [edi + 0xd], 0x10
jne 0x1009e062
movzx eax, word [edi + 0xa]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.1009e9f0
mov edx, dword [esp + 0x2c]
add esp, 0x18
add edi, 8
cmp edi, edx
jb 0x1009dfa0
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
inc eax
mov dword [esp + 0x24], eax
cmp eax, edi
jb 0x1009ded3
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x1c], eax
je 0x1009e4f3
nop word [eax + eax]
cmp eax, edi
jae 0x1009e4f3
mov edx, dword [ecx + eax*4]
movzx eax, dx
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x28]
mov eax, dword [ebp + 0x10]
cmp byte [eax + edi*8 + 6], 0xfd
lea eax, [eax + edi*8]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
jne 0x1009e4e1
shr edx, 0x18
lea eax, [esi + 0x1c8]
lea eax, [eax + edx*4]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
cmp eax, edx
je 0x1009e14a
mov edx, dword [esp + 0x24]
mov eax, dword [esi + eax*4 + 0x1c8]
mov ebx, dword [esp + 0x3c]
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
jmp 0x1009e0a0
cmp edx, 0x8000
jb 0x1009e071
movzx eax, word [ebx + 6]
and eax, 0xffffff80
cmp eax, 0x80
jne 0x1009e071
movzx eax, word [ebx]
mov ebx, dword [esp + 0x3c]
push eax
push ebx
push dword [esp + 0x18]
push ecx
push ebp
push esi
call fcn.1009e9f0
mov ecx, dword [esp + 0x50]
add esp, 0x18
shr edi, 0x18
mov dword [esi + edi*4 + 0x1c8], eax
jmp 0x1009e075
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
movzx eax, word [eax]
mov dword [esp + 0x20], eax
cmp eax, edx
jb 0x1009e175
push eax
push ebx
push edi
push ecx
push ebp
push esi
call fcn.1009e9f0
mov edx, dword [ebp + 0x14]
add esp, 0x18
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
movzx edi, word [eax + 2]
cmp edi, edx
jb 0x1009e194
push edi
push ebx
push dword [esp + 0x18]
push ecx
push ebp
push esi
call fcn.1009e9f0
add esp, 0x18
mov edi, eax
mov edx, dword [esp + 0x18]
cmp byte [edx + 5], 0x51
jne 0x1009e223
mov ecx, dword [esp + 0x28]
inc ecx
cmp ecx, dword [ebp + 8]
jae 0x1009e1f5
cmp byte [edx + 0xd], 0x10
jne 0x1009e1f5
mov dword [esi + 0xfc], 1
movzx eax, word [edx + 0xa]
push eax
push ebx
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.1009e9f0
mov ecx, 0x1015
movzx eax, ax
add esp, 0x18
mov word [esi + 0x78], cx
mov ecx, esi
mov word [esi + 0x74], di
mov word [esi + 0x76], ax
call fcn.1009abf0
mov edx, dword [esp + 0x18]
mov edi, eax
mov ax, word [edx + 4]
mov ecx, 0xff9f
and ax, cx
mov word [esi + 0x76], di
mov word [esi + 0x78], ax
mov ecx, esi
mov eax, dword [esp + 0x20]
mov word [esi + 0x74], ax
call fcn.100b86f0
mov edx, dword [esp + 0x24]
mov dword [edx], eax
jmp 0x1009e4d9
mov ax, word [edx + 4]
mov ecx, esi
mov word [esi + 0x78], ax
mov eax, dword [esp + 0x20]
mov word [esi + 0x74], ax
mov word [esi + 0x76], di
call fcn.100b86f0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [edx], eax
mov eax, dword [esp + 0x14]
lea ebx, [edi + 8]
cmp ebx, eax
jae 0x1009e4d9
nop dword [eax + eax]
cmp byte [ebx + 6], 0xfe
jne 0x1009e4aa
mov al, byte [ebx + 7]
cmp al, 0xff
je 0x1009e27d
movzx eax, al
xor ecx, ecx
lea eax, [edi + eax*8]
cmp eax, ebx
jmp 0x1009e2bb
mov al, byte [ebx + 5]
cmp al, 0x47
je 0x1009e294
cmp al, 0x48
je 0x1009e294
cmp al, 0x4a
je 0x1009e294
cmp al, 0x4b
je 0x1009e294
xor ecx, ecx
jmp 0x1009e2be
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebx]
mov dl, byte [ecx + eax*8 + 5]
lea eax, [ecx + eax*8]
cmp dl, 0x38
je 0x1009e2ab
cmp dl, 0x39
jne 0x1009e2b1
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx eax, word [eax]
lea eax, [ecx + eax*8]
xor ecx, ecx
cmp eax, edi
sete cl
test ecx, ecx
je 0x1009e4a6
movzx eax, word [ebx]
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + eax*8 + 2]
lea edi, [ecx + eax*8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov al, byte [edi + 5]
cmp al, 0x3e
je 0x1009e356
lea ecx, [ecx + edx*8]
cmp al, 0x39
jne 0x1009e30e
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + eax*8]
push eax
push esi
call fcn.1009eb20
add esp, 8
push eax
push esi
call fcn.1009b520
add esp, 0xc
jmp 0x1009e318
push ecx
push esi
call fcn.1009eb20
add esp, 8
mov edx, eax
mov al, byte [edi + 5]
mov dword [esp + 0x24], edx
cmp al, 0x39
je 0x1009e329
cmp al, 0x38
jne 0x1009e356
movzx ecx, word [edi]
mov eax, dword [ebp + 0x10]
movzx edx, word [eax + ecx*8 + 2]
mov ax, word [eax + ecx*8 + 4]
mov ecx, esi
mov word [esi + 0x78], ax
mov eax, dword [esp + 0x28]
mov word [esi + 0x74], ax
mov word [esi + 0x76], dx
call fcn.100b86f0
mov edx, dword [esp + 0x24]
jmp 0x1009e35a
mov eax, dword [esp + 0x20]
mov cx, word [edi + 4]
mov word [esi + 0x78], cx
mov ecx, esi
mov word [esi + 0x74], ax
mov word [esi + 0x76], dx
call fcn.100b86f0
movzx ecx, word [ebx + 2]
push ecx
push dword [esp + 0x40]
mov dword [esp + 0x2c], eax
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.1009e9f0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x1009e3f0
movzx ecx, word [ebx + 2]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + ecx*8]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.1009e9f0
add esp, 0x18
mov dword [esi + 0x76], 0x550e01d3
mov ecx, esi
mov word [esi + 0x74], ax
call fcn.100b86f0
mov edi, eax
mov ax, word [ebx + 4]
mov ecx, esi
mov word [esi + 0x78], ax
mov eax, dword [esp + 0x24]
mov word [esi + 0x74], ax
mov word [esi + 0x76], di
call fcn.100b86f0
mov edi, dword [esp + 0x18]
jmp 0x1009e4ca
lea eax, [ebx + 8]
cmp eax, dword [esp + 0x14]
jae 0x1009e3cc
cmp byte [ebx + 0xd], 0x10
jne 0x1009e3cc
mov dword [esi + 0xfc], 1
mov edx, 0x8000
movzx ecx, word [ebx + 2]
cmp cx, dx
jae 0x1009e445
movzx eax, word [ebx + 0xa]
cmp ax, dx
jae 0x1009e445
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + eax*8]
cdq
xor edx, edx
add edx, dword [edi + ecx*8]
adc eax, 0
push eax
push edx
push esi
call fcn.1009b0b0
push eax
push 0x1c
push esi
call fcn.1009b010
add esp, 0x18
jmp 0x1009e47b
movzx eax, word [ebx + 0xa]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.1009e9f0
mov ecx, 0x1015
movzx eax, ax
add esp, 0x18
mov word [esi + 0x78], cx
mov ecx, esi
mov word [esi + 0x74], di
mov word [esi + 0x76], ax
call fcn.1009abf0
mov ecx, eax
movzx eax, byte [ebx + 5]
shl ax, 8
or ax, 0x15
mov word [esi + 0x76], cx
mov word [esi + 0x78], ax
mov ecx, esi
mov eax, dword [esp + 0x24]
mov word [esi + 0x74], ax
call fcn.100b86f0
mov edi, dword [esp + 0x18]
jmp 0x1009e4ca
mov eax, dword [esp + 0x14]
cmp byte [ebx + 5], 0x54
jne 0x1009e4ce
cmp byte [edi + 5], 0x50
jne 0x1009e4ce
xor eax, eax
mov dword [esi + 0x76], 0x54000000
mov ecx, esi
mov word [esi + 0x74], ax
call fcn.100b86f0
mov eax, dword [esp + 0x14]
add ebx, 8
cmp ebx, eax
jb 0x1009e260
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x2c], eax
jmp 0x1009e0a0
mov ecx, dword [esi + 0x6c]
lea eax, [esi + 0x1c8]
mov ebx, dword [esi + 0x18]
lea eax, [eax + ecx*4]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + 6]
sub eax, ecx
cmp byte [esi + 0x70], 0
mov dword [esi + 0x68], eax
movzx eax, word [esi + 6]
mov ebp, eax
mov edi, eax
je 0x1009e54f
movzx eax, byte [esi + 0x72]
shr eax, 7
not eax
and eax, 1
jne 0x1009e563
lea eax, [edi + 1]
cmp eax, dword [esi + 0xe8]
lea edx, [esi + 0xe8]
jbe 0x1009e5a8
mov ecx, dword [esi + 0x5d4]
cmp eax, ecx
ja 0x1009e5f4
jmp 0x1009e58a
test edi, edi
je 0x1009e52e
mov eax, dword [esi + 0x1c]
lea ecx, [edi + edi*2]
movzx eax, word [eax + ecx*4 - 8]
cmp eax, dword [esi + 8]
jne 0x1009e52e
cmp edi, 1
jne 0x1009e57e
xor eax, eax
mov dword [esi + 0x76], 0xc000000
mov ecx, esi
mov word [esi + 0x74], ax
call fcn.1009abf0
jmp 0x1009e52e
mov ecx, dword [esi + 0x1c]
dec edi
lea eax, [edi + edi*2]
mov ebx, dword [ecx + eax*4]
jmp 0x1009e5b2
push 0xc
push ecx
push edx
push dword [esi + 0xec]
push dword [esi + 0x50]
call fcn.1007c480
add esp, 0x14
mov dword [esi + 0xec], eax
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x1c]
lea eax, [ebp + 1]
mov word [esi + 6], ax
lea eax, [edi + edi*2]
mov byte [esi + 0x70], 0
push ebx
lea eax, [ecx + eax*4]
mov byte [esi + 0x72], 0
push eax
push esi
call fcn.1009f6a0
add esp, 0xc
cmp dword [esp + 0x1c], 0
pop edi
je 0x1009e5ed
xor eax, eax
mov dword [esi + 0x76], 0xf800000
mov word [esi + 0x74], ax
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
jmp fcn.1009abf0
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push 3
push esi
call fcn.10080d90
int3