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

Disassembly:
push ebp
xor ecx, ecx
push edi
push esi
push ebx
sub esp, 0xac
mov edx, dword [esp + 0xc4]
mov edi, dword [esp + 0xc8]
mov eax, dword [esp + 0xc0]
mov edx, dword [edx + 0xbdc]
mov dword [esp + 0x10], edx
movzx edx, byte [edi + 2]
test dl, dl
je 0x7009d55e
imul ecx, dword [esp + 0x10], 0x4c
mov esi, edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
sub esi, ecx
mov ecx, esi
movzx esi, byte [esi + 2]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov ebx, esi
test bl, bl
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
je 0x7009d2fc
mov ebx, dword [ecx + 4]
mov dword [esp + 0x20], ebx
mov ebx, esi
mov esi, dword [esp + 0xd0]
movzx ebp, bl
mov ebx, dword [esp + 0xd4]
mov esi, dword [ebx + esi*4]
cmp dword [ebx + ebp*4], esi
je 0x7009d2f8
neg word [esp + 0x20]
neg word [esp + 0x22]
mov dword [esp + 0x40], ebp
movzx esi, byte [edi - 0x4a]
mov ebx, esi
test bl, bl
je 0x7009d334
mov edi, dword [edi - 0x48]
movzx esi, bl
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0xd4]
mov ebx, dword [edi + ebx*4]
cmp dword [edi + esi*4], ebx
je 0x7009d330
neg word [esp + 0x24]
neg word [esp + 0x26]
mov dword [esp + 0x44], esi
movzx esi, byte [ecx - 0x4a]
mov ebx, esi
test bl, bl
je 0x7009d36c
mov ecx, dword [ecx - 0x48]
movzx esi, bl
mov edi, dword [esp + 0xd4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xd0]
mov ecx, dword [edi + ecx*4]
cmp dword [edi + esi*4], ecx
je 0x7009d368
neg word [esp + 0x28]
neg word [esp + 0x2a]
mov dword [esp + 0x48], esi
mov ebx, dword [eax + 0x1a904]
test ebx, ebx
jne 0x7009d608
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 3
mov edi, dword [esp + 0x18]
xor eax, eax
movzx esi, dl
mov ebx, dword [esp + 0xdc]
lea esi, [esi]
mov ecx, dword [ebx + eax*4]
mov edx, dword [esp + ecx*4 + 0x40]
test edx, edx
je 0x7009d3b3
cmp edx, esi
je 0x7009d816
add eax, 1
cmp edi, eax
jg 0x7009d3a0
movsx eax, word [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
movsx eax, word [esp + 0x22]
cmp edx, 3
mov dword [esp + 0x80], eax
movsx eax, word [esp + 0x24]
mov dword [esp + 0x64], eax
movsx eax, word [esp + 0x26]
mov dword [esp + 0x84], eax
movsx eax, word [esp + 0x28]
mov dword [esp + 0x68], eax
movsx eax, word [esp + 0x2a]
mov dword [esp + 0x88], eax
jle 0x7009d47f
movsx eax, word [esp + 0x2c]
cmp edx, 4
mov dword [esp + 0x6c], eax
movsx eax, word [esp + 0x2e]
mov dword [esp + 0x8c], eax
jle 0x7009d47f
movsx eax, word [esp + 0x30]
cmp edx, 5
mov dword [esp + 0x70], eax
movsx eax, word [esp + 0x32]
mov dword [esp + 0x90], eax
jle 0x7009d47f
movsx eax, word [esp + 0x34]
cmp edx, 6
mov dword [esp + 0x74], eax
movsx eax, word [esp + 0x36]
mov dword [esp + 0x94], eax
jle 0x7009d47f
movsx eax, word [esp + 0x38]
cmp edx, 7
mov dword [esp + 0x78], eax
movsx eax, word [esp + 0x3a]
mov dword [esp + 0x98], eax
jle 0x7009d47f
movsx eax, word [esp + 0x3c]
mov dword [esp + 0x7c], eax
movsx eax, word [esp + 0x3e]
mov dword [esp + 0x9c], eax
mov edi, 1
lea ebp, [edi*4]
xor esi, esi
lea ebx, [esp + 0x60]
mov edx, ebp
mov ebp, dword [esp + edi*4 + 0x60]
lea ecx, [ebx + 4]
cmp dword [ebx], ebp
jle 0x7009d4c4
cmp edi, esi
jle 0x7009d4c2
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
call sub.msvcrt.dll_memmove
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ebx], ebp
add esi, 1
sub edx, 4
cmp esi, edi
mov ebx, ecx
jl 0x7009d493
add edi, 1
cmp dword [esp + 0x18], edi
jg 0x7009d484
mov edi, 1
nop
lea ebp, [edi*4]
xor esi, esi
lea ebx, [esp + 0x80]
mov edx, ebp
mov ebp, dword [esp + edi*4 + 0x80]
lea ecx, [ebx + 4]
cmp dword [ebx], ebp
jle 0x7009d526
cmp edi, esi
jle 0x7009d524
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
call sub.msvcrt.dll_memmove
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ebx], ebp
add esi, 1
sub edx, 4
cmp esi, edi
mov ebx, ecx
jl 0x7009d4f2
add edi, 1
cmp dword [esp + 0x18], edi
jg 0x7009d4e0
mov edx, dword [esp + 0x1c]
movzx eax, word [esp + edx*4 + 0x80]
movzx ecx, word [esp + edx*4 + 0x60]
mov edx, dword [esp + 0xd8]
shl eax, 0x10
or ecx, eax
mov dword [edx], 0
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov eax, dword [esp + 0xc4]
sar ecx, 0x10
mov eax, dword [eax + 0xc38]
lea edx, [eax - 0x80]
cmp ecx, edx
jge 0x7009d5e0
mov edx, dword [esp + 0xcc]
add eax, 0xffffff80
mov word [edx + 2], ax
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
mov edx, dword [edx + 0xc40]
movsx eax, word [eax]
lea ecx, [edx - 0x80]
cmp eax, ecx
jl 0x7009d7fe
mov edx, dword [esp + 0xc4]
mov edx, dword [edx + 0xc44]
lea ecx, [edx + 0x80]
cmp eax, ecx
jle 0x7009d5d3
mov eax, dword [esp + 0xcc]
sub dx, 0xff80
mov word [eax], dx
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 0xc3c]
lea edx, [eax + 0x80]
cmp ecx, edx
jle 0x7009d58c
mov edx, dword [esp + 0xcc]
sub ax, 0xff80
mov word [edx + 2], ax
jmp 0x7009d58c
mov esi, dword [esp + 0xc4]
mov ecx, dword [esi + 0xc40]
test ecx, ecx
lea esi, [ecx + 0x7f]
cmovs ecx, esi
mov esi, dword [esp + 0x10]
sar ecx, 7
neg ecx
lea edi, [ecx + 1]
lea ecx, [esi + 1]
mov esi, dword [esp + 0xc4]
imul edi, ecx
mov ecx, dword [esi + 0xc38]
test ecx, ecx
lea esi, [ecx + 0x7f]
cmovs ecx, esi
sar ecx, 7
neg ecx
lea esi, [edi + ecx + 1]
mov edi, dword [eax + 0x258d0]
mov dword [esp + 0x18], esi
lea ecx, [esi*4]
mov esi, dword [edi + esi*4]
mov dword [esp + 0x14], edi
test esi, esi
mov dword [esp + 0x1c], esi
je 0x7009d6b3
mov ebx, dword [esp + 0x18]
mov esi, dword [eax + 0x258c8]
mov edi, dword [eax + 0x258cc]
mov esi, dword [esi + ebx*4]
mov ebp, edi
mov edi, dword [esp + 0xd0]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0xd4]
mov esi, dword [esi + edi*4]
cmp dword [ebp + ebx*4], esi
je 0x7009d6a7
neg word [esp + 0x2c]
neg word [esp + 0x2e]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x18]
sub esi, dword [esp + 0x10]
add esi, 0x3fffffff
mov ebp, esi
mov esi, dword [edi + esi*4]
test esi, esi
mov dword [esp + 0x1c], esi
je 0x7009d709
mov ebx, dword [eax + 0x258c8]
mov edi, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
mov ebx, dword [ebx + ebp*4]
mov esi, dword [edi + esi*4]
mov dword [esp + 0x30], ebx
mov ebx, dword [eax + 0x258cc]
cmp dword [ebx + ebp*4], esi
je 0x7009d701
neg word [esp + 0x30]
neg word [esp + 0x32]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x14]
mov edi, dword [esi + ecx - 4]
test edi, edi
je 0x7009d754
mov esi, dword [eax + 0x258c8]
mov ebx, dword [eax + 0x258cc]
mov esi, dword [esi + ecx - 4]
mov ebp, ebx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0xd0]
mov esi, dword [ebx + esi*4]
cmp dword [ebp + ecx - 4], esi
je 0x7009d74c
neg word [esp + 0x34]
neg word [esp + 0x36]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x54], edi
mov edi, dword [esi + ecx + 4]
test edi, edi
je 0x7009d797
mov esi, dword [eax + 0x258c8]
mov ebx, dword [eax + 0x258cc]
mov esi, dword [esi + ecx + 4]
mov ebp, ebx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0xd0]
mov esi, dword [ebx + esi*4]
cmp dword [ebp + ecx + 4], esi
je 0x7009d793
neg word [esp + 0x38]
neg word [esp + 0x3a]
mov dword [esp + 0x58], edi
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
lea ecx, [edi + esi + 1]
mov esi, dword [esp + 0x14]
mov edi, dword [esi + ecx*4]
test edi, edi
je 0x7009d834
mov esi, dword [eax + 0x258c8]
mov ebx, dword [esp + 0xd0]
mov eax, dword [eax + 0x258cc]
mov esi, dword [esi + ecx*4]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0xd4]
mov esi, dword [esi + ebx*4]
cmp dword [eax + ecx*4], esi
je 0x7009d7e5
neg word [esp + 0x3c]
neg word [esp + 0x3e]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], 8
jmp 0x7009d38a
mov eax, dword [esp + 0xcc]
add edx, 0xffffff80
mov word [eax], dx
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 3
mov edx, dword [esp + 0xd8]
setl al
mov ecx, dword [esp + ecx*4 + 0x20]
movzx eax, al
add eax, 2
mov dword [edx], eax
jmp 0x7009d55e
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], 8
jmp 0x7009d38a