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

Disassembly:
sub esp, 0x150
mov eax, dword [0x10077990]
xor eax, esp
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x154]
xor edx, edx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x16c]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x168]
xor ecx, ecx
mov dword [esp + 0x50], eax
xor ebp, ebp
mov eax, dword [esp + 0x174]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
test eax, eax
je 0x10027bb5
test esi, esi
je 0x10027bab
cmp eax, 4
ja 0x10027bab
test eax, eax
je 0x10027b5e
movzx ecx, word [esi]
test cx, cx
je 0x10027b5e
cmp ecx, 1
je 0x10027b5e
cmp ecx, 8
jne 0x10027bab
cmp dword [esi + 8], edx
jne 0x10027bab
cmp eax, 1
jbe 0x10027b7b
movzx ecx, word [esi + 0x10]
test cx, cx
je 0x10027b7b
cmp ecx, 1
je 0x10027b7b
cmp ecx, 8
jne 0x10027bab
cmp dword [esi + 0x18], edx
jne 0x10027bab
cmp eax, 2
jbe 0x10027b93
movzx ecx, word [esi + 0x20]
test cx, cx
je 0x10027b93
cmp ecx, 1
je 0x10027b93
cmp ecx, 8
jne 0x10027bab
cmp eax, 3
jbe 0x10027bb8
movzx ecx, word [esi + 0x30]
test cx, cx
je 0x10027bb5
cmp ecx, 1
je 0x10027bb5
cmp ecx, 8
je 0x10027bb5
mov esi, 0x80070057
jmp 0x100283a8
cmp eax, 3
jb 0x10027bd7
movzx ecx, word [esi + 0x20]
test cx, cx
je 0x10027bd7
cmp ecx, 1
je 0x10027bd7
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x24], 1
mov dword [esp + 0x48], ecx
mov ecx, 1
cmp eax, 4
jb 0x10027bf3
movzx eax, word [esi + 0x30]
test ax, ax
je 0x10027bf3
cmp eax, ecx
cmovne edx, ecx
mov dword [esp + 0x28], edx
mov eax, dword [0x1007a1e0]
push 0x70
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebp, eax
test ebp, ebp
je 0x10028388
push 0
push ebp
lea eax, [esp + 0x1c]
push eax
push edi
push 0
call fcn.10031c40
mov esi, eax
test esi, esi
jne 0x1002838d
mov eax, dword [esp + 0x16c]
lea edx, [esi + 1]
mov ecx, dword [esp + 0x40]
cmp eax, 3
jb 0x10027c3d
cmp dx, word [ecx + 0x20]
je 0x10027c48
cmp eax, 4
jb 0x10027c50
cmp dx, word [ecx + 0x30]
jne 0x10027c50
xor edx, edx
mov dword [esp + 0x34], edx
jmp 0x10027c55
mov edx, 1
cmp dword [esp + 0x28], ebx
je 0x10027c72
mov eax, 8
cmp ax, word [ecx + 0x30]
jne 0x10027c72
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove edx, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10027c84
cmp dword [ecx + 0x28], ebx
cmove edx, ebx
mov dword [esp + 0x34], edx
cmp eax, 1
jne 0x10027c8e
mov eax, dword [ecx + 0x28]
jmp 0x10027c90
xor eax, eax
push 1
push 0x30
lea ecx, [esp + 0x78]
push ecx
push eax
push 0x10060b80
push 0
push dword [edi + 0x14]
push dword [esp + 0x34]
call sub.msjet40.dll_Ordinal_140
mov dword [esp + 0x10], eax
test eax, eax
je 0x10027cbf
mov esi, 0x80004005
jmp 0x10028391
push 0
push SysReAllocStringLen
push dword [esp + 0x7c]
push dword [esp + 0x24]
call sub.msjet40.dll_Ordinal_156
mov dword [esp + 0x10], eax
cmp eax, 0xfffff9bd
je 0x10027cec
test eax, eax
je 0x10027cec
mov esi, 0x80004005
jmp 0x10028391
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x78], ebx
jbe 0x100282ca
lea ebx, [ebx]
cmp dword [esp + 0x34], 0
je 0x100282ca
push 0
push 0
lea eax, [esp + 0x54]
push eax
push 4
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x98]
push dword [esp + 0x8c]
push dword [esp + 0x34]
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10028395
mov eax, dword [esp + 0x44]
cmp eax, 1
je 0x10027d59
cmp eax, 3
jbe 0x100282a2
cmp eax, 6
ja 0x100282a2
push 0
push 0
lea eax, [esp + 0x54]
push eax
push 0x81
lea eax, [esp + 0xe8]
push eax
push dword [esp + 0x94]
push dword [esp + 0x8c]
push dword [esp + 0x34]
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10027cb5
mov eax, dword [esp + 0x4c]
and eax, 0xfffffffe
cmp eax, 0x82
jae 0x1002841f
xor ecx, ecx
cmp dword [esp + 0x44], 5
mov word [esp + eax + 0xd8], cx
jne 0x10027e61
push ecx
push ecx
lea eax, [esp + 0x70]
mov dword [esp + 0xac], 0xffffffff
push eax
push 4
lea eax, [esp + 0x74]
push eax
push dword [esp + 0xa8]
push dword [esp + 0x8c]
push dword [esp + 0x34]
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10027cb5
cmp dword [esp + 0x44], 5
jne 0x10027e09
movzx eax, word [esp + 0x64]
test eax, eax
jne 0x100282a2
lea eax, [esp + 0x6c]
push eax
push 0x38
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xe4]
push eax
push dword [edi + 0x14]
push dword [esp + 0x2c]
call sub.msjet40.dll_Ordinal_310
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100282a2
push dword [esp + 0xa4]
push dword [esp + 0x1c]
call sub.msjet40.dll_Ordinal_108
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10027cb5
cmp dword [esp + 0xa8], eax
jne 0x100282a2
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10027e82
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.1004ae64
add esp, 8
test eax, eax
jne 0x100282a2
push 0x10
call fcn.1003d386
add esp, 4
test eax, eax
je 0x10027e9b
mov ecx, eax
call fcn.10002dc0
mov ebx, eax
jmp 0x10027e9d
xor ebx, ebx
test ebx, ebx
je 0x10028388
push 1
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
lea eax, [esp + 0xe0]
push eax
push dword [edi + 0x14]
push dword [esp + 0x28]
call fcn.10007b00
mov esi, eax
test esi, esi
jns 0x10027eed
mov eax, dword [esp + 0x10]
cmp eax, 0xfffff82f
je 0x10027ee5
cmp eax, 0xfffff88d
je 0x10027ee5
cmp eax, 0xfffff8ed
jne 0x10028391
mov dword [esp + 0x10], 0
push 0
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0xe4]
push eax
push 0x10060bd8
push dword [edi + 0x14]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_801
mov esi, eax
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [ebx + 4], eax
jbe 0x10028281
nop
imul ecx, eax, 0x68
add ecx, dword [ebx + 0xc]
cmp dword [esp + 0x28], 0
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x60], eax
je 0x10027f51
call fcn.10007be0
push eax
mov eax, dword [esp + 0x44]
push dword [eax + 0x38]
call fcn.1004ae64
add esp, 8
test eax, eax
jne 0x1002826f
push 0
push dword [esp + 0x18]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_159
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10027cb5
lea ecx, [esp + 0xd8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10027f75
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0xe4]
push eax
push dword [ebp + 8]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
imul ecx, dword [esp + 0x1c], 0x68
add ecx, dword [ebx + 0xc]
call fcn.10007be0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10027fb3
imul ecx, dword [esp + 0x1c], 0x68
sub eax, edx
mov esi, dword [edi + 0x10]
push 0
sar eax, 1
push 0
add ecx, dword [ebx + 0xc]
add eax, eax
push eax
call fcn.10007be0
push eax
push dword [ebp + 0xc]
push dword [esp + 0x28]
push esi
call sub.msjet40.dll_Ordinal_172
inc dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push 0
push 0
push 4
push eax
push dword [ebp + 0x18]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
mov eax, dword [esp + 0x1c]
xor edx, edx
dec eax
imul ecx, eax, 0x68
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xc]
push 0
push 0
push 4
cmp dword [ecx + eax + 0x40], edx
lea eax, [esp + 0x44]
push eax
push dword [ebp + 0x1c]
setne dl
push dword [esp + 0x28]
mov dword [esp + 0x50], edx
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xc]
imul ecx, edx, 0x68
mov esi, dword [ecx + eax + 0x40]
test esi, esi
je 0x1002807c
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028052
push 0
sub eax, edx
push 0
sar eax, 1
add eax, eax
push eax
push esi
push dword [ebp + 0x20]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xc]
imul ecx, edx, 0x68
push 0
push 0
push 4
mov eax, dword [ecx + eax + 0x38]
mov dword [esp + 0x68], eax
shr eax, 5
and eax, 1
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push eax
push dword [ebp + 0x28]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
push 0
push 0
push 4
lea eax, [esp + 0x68]
push eax
push dword [ebp + 0x24]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
mov esi, dword [esp + 0x60]
push esi
call fcn.1001a010
push 0
push 0
movzx eax, ax
push 2
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
push eax
push dword [ebp + 0x2c]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
lea eax, [esi - 1]
cmp eax, 0x10
ja case.0x10028102.2
movzx eax, byte [eax + 0x10028430]
jmp dword [eax*4 + 0x10028424]
imul ecx, dword [esp + 0x1c], 0x68
mov eax, dword [ebx + 0xc]
mov eax, dword [ecx + eax + 0x2c]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je case.0x10028102.2
jmp 0x10028126
xor eax, eax
mov dword [esp + 0x20], eax
cmp esi, 1
je 0x10028149
push 0
push 0
push 4
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 0x38]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
mov eax, dword [esp + 0x20]
cmp esi, 0xa
jne 0x10028154
shr eax, 1
mov dword [esp + 0x20], eax
push 0
push 0
push 4
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 0x34]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
imul ecx, dword [esp + 0x1c], 0x68
mov dword [esp + 0x20], 0
add ecx, dword [ebx + 0xc]
call fcn.10008c40
movzx eax, al
mov ecx, 0xff
mov dword [esp + 0x24], eax
cmp cx, ax
je 0x100281ae
push 0
push 0
push 2
lea eax, [esp + 0x30]
push eax
push dword [ebp + 0x3c]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
imul ecx, dword [esp + 0x1c], 0x68
add ecx, dword [ebx + 0xc]
call fcn.10008c70
movzx eax, al
mov ecx, 0xff
mov dword [esp + 0x24], eax
cmp cx, ax
je 0x100281e6
push 0
push 0
push 2
lea eax, [esp + 0x30]
push eax
push dword [ebp + 0x40]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
cmp esi, 8
jne 0x1002820d
push 0
push 0
push 4
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0
push eax
push dword [ebp + 0x44]
push dword [esp + 0x28]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_172
imul ecx, dword [esp + 0x1c], 0x68
lea eax, [esp + 0x10]
mov esi, dword [edi + 0x14]
push eax
push dword [ebp + 0x6c]
push dword [esp + 0x1c]
add ecx, dword [ebx + 0xc]
push 0x10060bf4
call fcn.10007be0
mov ecx, dword [esp + 0x60]
push eax
push esi
push dword [esp + 0x30]
push dword [esp + 0x48]
call fcn.10031a90
mov esi, eax
test esi, esi
js 0x1002838d
push 0
push 0
push 0
push dword [esp + 0x20]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_179
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10027cb5
cmp dword [esp + 0x28], eax
jne 0x10028281
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ebx + 4]
jb 0x10027f20
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10028297
push eax
call sub.msjet40.dll_Ordinal_802
mov dword [esp + 0x2c], 0
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 4]
xor ebx, ebx
push 0
push 1
push dword [esp + 0x7c]
push dword [esp + 0x24]
call sub.msjet40.dll_Ordinal_156
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x78]
jb 0x10027d00
push dword [esp + 0x74]
mov esi, dword [esp + 0x1c]
push esi
call sub.msjet40.dll_Ordinal_108
mov dword [esp + 0x10], eax
mov dword [esp + 0x74], 0xffffffff
test eax, eax
je 0x100282f2
mov esi, 0x80004005
jmp 0x10028391
push 0x20
call fcn.1003d386
add esp, 4
test eax, eax
je 0x10028388
mov ecx, eax
call fcn.10002de0
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10028388
mov ecx, dword [0x100609ac]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x100609a8]
push 0
mov dword [eax + 0x14], ecx
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [eax + 0x1c], 0
mov ecx, eax
push dword [esp + 0x20]
push dword [edi + 0x14]
push esi
call fcn.10007a40
mov esi, eax
test esi, esi
js 0x1002838d
mov eax, dword [esp + 0x3c]
push 0x10068ef8
push 0
push 0
push 1
push eax
push 0
push 0
push 1
push dword [esp + 0x74]
mov dword [eax + 4], 0x1c
push dword [esp + 0x38]
push 0
push 0
push 0
push edi
push 0
push dword [esp + 0x8c]
call fcn.1001c790
mov esi, eax
jmp 0x1002838d
mov esi, 0x8007000e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100283a4
push 0x10068de8
push eax
push esi
push edi
call fcn.10010bd0
jmp 0x100283bb
test esi, esi
jns 0x100283bb
push 0
push 0x10068de8
push esi
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.100105d0
test ebp, ebp
je 0x100283cf
mov eax, dword [0x1007a1e0]
test eax, eax
je 0x100283cf
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x14]
test ebx, ebx
je 0x100283dc
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 4]
test esi, esi
jns 0x100283f0
push dword [esp + 0x14]
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_108
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
cmp eax, 0xffffffff
je 0x10028402
push eax
push dword [edi + 0x10]
call sub.msjet40.dll_Ordinal_108
mov ecx, dword [esp + 0x15c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003dba2
add esp, 0x150
ret 0x14
call fcn.1003e83e
or dword [ecx - 0x7edfeffe], eax
add dl, byte [eax]
outsb dx, byte [esi]
add dword [edx], 33685520
add al, byte [edx]
add al, byte [edx]
add al, byte [eax]
add byte [ecx], al
add dword [edx], eax
add al, byte [edx]
add al, byte [eax]
int3