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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
push esi
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x34]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
test eax, eax
je 0x10dba3c8
mov esi, dword [esp + 0x64]
push esi
push eax
call sym.PBVM90.dll_shhash_search
test eax, eax
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
je 0x10dba421
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x14
lea edx, [esp + 0x68]
xor eax, eax
push edx
lea edx, [esp + 0x16]
push edx
lea edx, [esp + 0x2c]
push edx
xor ecx, ecx
sub esp, 0x10
mov dword [esp + 0x6c], eax
mov edx, esp
mov dword [esp + 0x70], eax
push esi
mov dword [edx], eax
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
call sym.PBVM90.dll_rtRoutineCount
push 0
mov eax, dword [esp + 0x28]
and eax, 0xffff
mov dword [ebp + 0x14], eax
mov ecx, dword [esi + 0x10]
push ecx
push 0
push 1
push 0x10d268f0
push eax
call sym.PBVM90.dll_shhash_new
mov dword [ebp + 0x10], eax
mov esi, dword [esp + 0x64]
mov edx, dword [edi]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov dx, word [eax + 4]
mov cx, word [ecx + 0x10]
mov dword [esp + 0x2c], edx
mov word [esp + 0x34], cx
call fcn.10bd19f0
test eax, eax
je 0x10dba45f
push 0x10e2a6f0
push esi
call dword [sym.imp.MSVCRT.dll__mbsstr]
jmp 0x10dba46b
push 0x10e2a6f4
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10dba59c
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.libjsybheap.dll_Ordinal_13
add esp, 4
mov ebp, eax
call fcn.10bd19f0
test eax, eax
je 0x10dba4a2
push esi
push ebp
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
jmp 0x10dba4c1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10bd19f0
test eax, eax
je 0x10dba4d8
push 0x10e2a6f8
push ebp
call dword [sym.imp.MSVCRT.dll__mbsstr]
jmp 0x10dba4e4
push 0x10e2a6fc
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
call sub.libjsybheap.dll_Ordinal_13
add esp, 4
mov ebx, eax
mov byte [esi], 0
call fcn.10bd19f0
test eax, eax
je 0x10dba51c
add esi, 2
push esi
push ebx
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
jmp 0x10dba53c
lea edi, [esi + 2]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.10dba820
add esp, 4
mov esi, eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push 1
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov eax, dword [esp + 0x2c]
push esi
lea ecx, [esp + 0x44]
push ebp
lea edx, [esp + 0x4c]
push ecx
push edx
push eax
call fcn.10c86fb0
push ebp
mov dword [esp + 0x20], eax
call sub.libjsybheap.dll_Ordinal_16
add esp, 4
push ebx
call sub.libjsybheap.dll_Ordinal_16
add esp, 4
push esi
call sub.libjsybheap.dll_Ordinal_16
mov esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
add esp, 4
jmp 0x10dba5b4
lea ecx, [esp + 0x14]
push 1
lea edx, [esp + 0x24]
push ecx
push edx
push esi
push edi
push ebx
call fcn.10c8b0a0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x10dba7fa
push 0x14
call sub.libjsybheap.dll_Ordinal_13
mov ebx, eax
xor eax, eax
mov ecx, ebx
mov edi, esi
add esp, 4
mov dword [esp + 0x3c], ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov cx, word [eax + 0x1c]
xor eax, eax
mov word [ebx + 0xe], cx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.libjsybheap.dll_Ordinal_13
add esp, 4
mov dword [ebx], eax
call fcn.10bd19f0
test eax, eax
je 0x10dba61e
mov edx, dword [ebx]
push esi
push edx
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
jmp 0x10dba63d
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov al, byte [edx + 0x1e]
and eax, 0xff
mov dword [ebx + 6], eax
shl eax, 3
push eax
call sub.libjsybheap.dll_Ordinal_13
mov dword [ebx + 0xa], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add esp, 4
mov eax, dword [eax + 0x2a]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx]
mov edx, dword [eax + 8]
xor eax, eax
mov edi, dword [ecx + 8]
mov cx, word [ecx + 0x14]
and edi, 0x7fffffff
mov word [ebx + 4], cx
mov ecx, dword [ebx + 6]
add edi, edx
test ecx, ecx
mov dword [esp + 0x6c], eax
jbe 0x10dba7e6
add edi, 0xa
mov edx, dword [ebx + 0xa]
lea esi, [edx + eax*8]
xor eax, eax
mov ecx, esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dl, byte [edi]
shr edx, 1
and edx, 3
mov ebp, edx
cmp ebp, 2
mov dword [esp + 0x38], ebp
je 0x10dba808
mov ax, word [edi - 2]
test ax, ax
mov word [esi + 6], ax
je 0x10dba734
mov cx, word [esp + 0x34]
mov ebp, dword [esp + 0x18]
mov word [esp + 0x64], cx
mov word [esp + 0x66], ax
mov ebx, dword [esp + 0x64]
push ebx
push ebp
call sym.PBVM90.dll_ob_is_class_enum
cmp eax, 1
jne 0x10dba6f5
jmp 0x10dba717
mov dx, word [esi + 4]
push ebx
and edx, 0xefff
push ebp
or dh, 0xc
mov word [esi + 4], dx
call sym.PBVM90.dll_obIsClassAutoinstantiate
dec eax
neg eax
sbb eax, eax
and al, 0xfe
add eax, 2
mov cx, word [esi + 4]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
and ecx, 0xffc1
lea edx, [eax + eax]
or ecx, edx
mov word [esi + 4], cx
jmp 0x10dba74b
mov cl, byte [edi]
mov ax, word [esi + 4]
shr cl, 2
and eax, 0xffc1
and ecx, 0x3e
or eax, ecx
mov word [esi + 4], ax
mov al, byte [edi]
mov dx, word [esi + 4]
and eax, 1
and edx, 0xdfff
shl eax, 0xd
or edx, eax
mov word [esi + 4], dx
mov cl, byte [edi]
and cl, 1
cmp cl, 1
jne 0x10dba7a3
mov eax, dword [esp + 0x40]
mov edx, dword [edi - 6]
and edx, 0x7fffffff
mov eax, dword [eax + 8]
add eax, edx
mov cx, word [eax]
and ecx, 0xc000
test cx, cx
je 0x10dba7a3
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push edx
push eax
call fcn.10c69a90
mov ecx, dword [esp + 0x44]
mov dword [esi], ecx
test ebp, ebp
je 0x10dba7c5
cmp ebp, 1
jne 0x10dba7bf
mov dx, word [esi + 4]
and edx, 0xffbf
or dl, 0x80
mov word [esi + 4], dx
jmp 0x10dba7cb
or byte [esi + 4], 0xc0
jmp 0x10dba7cb
and word [esi + 4], 0xff3f
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebx + 6]
inc eax
add edi, 0xc
cmp eax, ecx
mov dword [esp + 0x6c], eax
jb 0x10dba69e
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x70]
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10dba7fa
push ebx
push eax
call sym.PBVM90.dll_shhash_insert
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x14
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x4c
ret 0x14