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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], edx
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], ebx
nop dword [eax]
cmp edi, dword [edx]
jb 0x101221ae
mov eax, edi
sub eax, dword [edx + 4]
cmp eax, dword [edx + 0x10]
je 0x10122897
push dword [edx + 0x48]
lea eax, [ebp - 0x2c]
mov ecx, edx
push edi
push eax
call fcn.100d0ea0
cmp byte [ebp - 0x28], 0
mov edi, dword [ebp - 0x2c]
jne 0x10122897
movzx ebx, byte [edi]
cmp ebx, 0x80
jae 0x101221bc
inc edi
jmp 0x101221eb
movzx ecx, byte [edi + 1]
add ebx, 0xffffff80
mov eax, ecx
shl eax, 7
add ebx, eax
cmp ecx, 0x80
jae 0x101221d7
add edi, 2
jmp 0x101221eb
push ebx
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.100d1e00
mov ebx, dword [ebp - 0x30]
add esp, 0xc
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x10122892
mov eax, ebx
shr eax, 3
dec eax
cmp eax, 0x16
ja case.default.0x10122202
jmp dword [eax*4 + 0x101228a8]
cmp bl, 0xa
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
or dword [ebx + 8], 0x400
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x1012222f
push eax
call fcn.10118220
add esp, 4
mov dword [ebx + 0x48], eax
mov ecx, dword [ebp - 4]
push edi
push eax
call fcn.10104e70
mov edi, eax
test edi, edi
je 0x10122895
mov edx, dword [ebp - 4]
jmp 0x10122180
cmp bl, 0x10
jne case.default.0x10122202
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.100c29b0
mov edi, eax
add esp, 8
test edi, edi
je 0x10122892
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 1]
cmp ecx, 4
ja case.default.0x10122276
jmp dword [ecx*4 + 0x10122904]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 4]
or dword [ebx + 8], 0x200000
mov dword [ebx + 0x88], eax
jmp 0x10122180
mov ebx, dword [ebp - 8]
test byte [ebx + 4], 1
lea ecx, [ebx + 4]
je 0x101222bd
push dword [ebp - 0x18]
mov eax, dword [ecx]
push dword [ebp - 0x1c]
and eax, 0xfffffffe
push 2
mov ecx, eax
call fcn.100c3320
mov edx, dword [ebp - 4]
jmp 0x10122180
call fcn.1009c780
push dword [ebp - 0x18]
mov ecx, eax
push dword [ebp - 0x1c]
push 2
call fcn.100c3320
mov edx, dword [ebp - 4]
jmp 0x10122180
cmp bl, 0x18
jne case.default.0x10122202
lea eax, [ebp - 0x3c]
or esi, 0x1000
push eax
push edi
call fcn.100c29b0
mov ebx, dword [ebp - 8]
mov edi, eax
mov eax, dword [ebp - 0x3c]
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
jmp 0x10122807
cmp bl, 0x20
jne case.default.0x10122202
lea eax, [ebp - 0x44]
or esi, 0x2000
push eax
push edi
call fcn.100c29b0
mov ebx, dword [ebp - 8]
mov edi, eax
mov eax, dword [ebp - 0x44]
add esp, 8
mov ecx, dword [ebp - 0x40]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
jmp 0x10122807
cmp bl, 0x2a
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x20]
or dword [ebx + 8], 1
cmp dword [eax], 0x101d7ea0
jne 0x101227f6
push 0x101d7ea0
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x20]
jmp 0x101227f6
cmp bl, 0x32
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x24]
or dword [ebx + 8], 2
cmp dword [eax], 0x101d7ea0
jne 0x101227f6
push 0x101d7ea0
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x24]
jmp 0x101227f6
cmp bl, 0x3a
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
or dword [ebx + 8], 0x800
mov eax, dword [ebx + 0x4c]
test eax, eax
jne 0x101223c9
push eax
call fcn.10100f00
add esp, 4
mov dword [ebx + 0x4c], eax
mov ecx, dword [ebp - 4]
push edi
push eax
call fcn.10101010
jmp 0x10122805
cmp bl, 0x40
jne case.default.0x10122202
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.100c29b0
mov edi, eax
add esp, 8
test edi, edi
je 0x10122892
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
ja case.default.0x10122407
movzx eax, byte [ecx + 0x1012291c]
jmp dword [eax*4 + 0x10122918]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 4]
or dword [ebx + 8], 0x4000
mov dword [ebx + 0x60], ecx
jmp 0x10122180
mov ebx, dword [ebp - 8]
test byte [ebx + 4], 1
je 0x10122447
push dword [ebp - 0x20]
mov eax, dword [ebx + 4]
push ecx
and eax, 0xfffffffe
push 8
mov ecx, eax
call fcn.100c3320
mov edx, dword [ebp - 4]
jmp 0x10122180
lea ecx, [ebx + 4]
call fcn.1009c780
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push ecx
push 8
mov ecx, eax
call fcn.100c3320
mov edx, dword [ebp - 4]
jmp 0x10122180
cmp bl, 0x48
jne case.default.0x10122202
lea eax, [ebp - 0x6c]
or esi, 0x8000
push eax
push edi
call fcn.100c29b0
mov ebx, dword [ebp - 8]
mov edi, eax
mov eax, dword [ebp - 0x6c]
add esp, 8
mov dword [ebx + 0x64], eax
jmp 0x10122807
cmp bl, 0x50
jne case.default.0x10122202
lea eax, [ebp - 0x74]
or esi, 0x10000
push eax
push edi
call fcn.100c29b0
mov ebx, dword [ebp - 8]
mov edi, eax
mov eax, dword [ebp - 0x74]
add esp, 8
mov dword [ebx + 0x68], eax
jmp 0x10122807
cmp bl, 0x5a
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
dec edi
nop dword [eax]
mov eax, dword [ebx + 0x1c]
inc edi
test eax, eax
je 0x101224f5
mov ecx, dword [ebx + 0x14]
mov edx, dword [eax]
cmp ecx, edx
jge 0x101224f0
mov eax, dword [eax + ecx*4 + 4]
mov dword [ebp - 0x10], eax
lea eax, [ecx + 1]
mov dword [ebx + 0x14], eax
jmp 0x10122524
cmp edx, dword [ebx + 0x18]
jne 0x10122502
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x10]
inc eax
push eax
call fcn.10094700
mov eax, dword [ebx + 0x1c]
inc dword [eax]
push dword [ebx + 0x10]
call fcn.10117ea0
mov ecx, dword [ebx + 0x14]
mov edx, eax
mov eax, dword [ebx + 0x1c]
add esp, 4
mov dword [ebp - 0x10], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [ebx + 0x14]
movzx eax, byte [edi]
cmp eax, 0x80
jae 0x10122531
inc edi
jmp 0x10122545
push eax
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.100d1cc0
mov edi, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [ebp - 0x48]
test edi, edi
je 0x10122895
mov edx, dword [ebp - 4]
sub eax, dword [edx + 4]
add eax, edi
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0xc], eax
cmovl eax, dword [ebp - 0xc]
add eax, dword [edx + 4]
add dword [edx + 0x44], 0xffffffff
mov dword [edx], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
js 0x10122895
mov ecx, dword [ebp - 0x10]
push edx
push edi
call fcn.10120910
mov edi, eax
test edi, edi
je 0x10122895
mov edx, dword [ebp - 4]
inc dword [edx + 0x44]
cmp dword [edx + 0x3c], 0
jne 0x10122895
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
add eax, ecx
xor ecx, ecx
test eax, eax
mov dword [edx + 0x10], eax
cmovs ecx, eax
add ecx, dword [edx + 4]
mov dword [edx], ecx
cmp edi, ecx
jae 0x10122180
cmp byte [edi], 0x5a
je 0x101224d0
jmp 0x10122180
cmp bl, 0x62
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x28]
or dword [ebx + 8], 4
cmp dword [eax], 0x101d8f60
jne 0x101227f6
push 0x101d8f60
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x28]
jmp 0x101227f6
cmp bl, 0x6a
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x2c]
or dword [ebx + 8], 8
cmp dword [eax], 0x101d7ea0
jne 0x101227f6
push 0x101d7ea0
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x2c]
jmp 0x101227f6
cmp bl, 0x72
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x30]
or dword [ebx + 8], 0x10
cmp dword [eax], 0x101d7ea0
jne 0x101227f6
push 0x101d7ea0
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x30]
jmp 0x101227f6
cmp bl, 0x7a
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x34]
or dword [ebx + 8], 0x20
cmp dword [eax], 0x101d7ea0
jne 0x101227f6
push 0x101d7ea0
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x34]
jmp 0x101227f6
cmp bl, 0x82
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x38]
or dword [ebx + 8], 0x40
cmp dword [eax], 0x101d7ea0
jne 0x101227f6
push 0x101d7ea0
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x38]
jmp 0x101227f6
cmp bl, 0x8a
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x3c]
or dword [ebx + 8], 0x80
cmp dword [eax], 0x101d7ea0
jne 0x101227f6
push 0x101d7ea0
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x3c]
jmp 0x101227f6
cmp bl, 0x90
jne case.default.0x10122202
lea eax, [ebp - 0x54]
or esi, 0x40000
push eax
push edi
call fcn.100c29b0
mov ebx, dword [ebp - 8]
mov edi, eax
mov eax, dword [ebp - 0x54]
add esp, 8
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], ecx
jmp 0x10122807
cmp bl, 0x98
jne case.default.0x10122202
lea eax, [ebp - 0x5c]
or esi, 0x80000
push eax
push edi
call fcn.100c29b0
mov ebx, dword [ebp - 8]
mov edi, eax
mov eax, dword [ebp - 0x5c]
add esp, 8
mov ecx, dword [ebp - 0x58]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], ecx
jmp 0x10122807
cmp bl, 0xa1
jne case.default.0x10122202
mov eax, dword [edi]
or esi, 0x100000
mov ecx, dword [edi + 4]
add edi, 8
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
movsd xmm0, qword [ebp - 0x64]
movsd qword [ebx + 0x80], xmm0
jmp 0x10122180
cmp bl, 0xaa
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x40]
or dword [ebx + 8], 0x100
cmp dword [eax], 0x101d8f78
jne 0x101227f6
push 0x101d8f78
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x40]
jmp 0x101227f6
cmp bl, 0xb2
jne case.default.0x10122202
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x44]
or dword [ebx + 8], 0x200
cmp dword [eax], 0x101d7ea0
jne 0x101227f6
push 0x101d7ea0
mov ecx, eax
call fcn.10058e20
lea eax, [ebx + 0x44]
mov edx, dword [ebp - 4]
push edx
push edi
push dword [eax]
call fcn.100d1030
add esp, 0xc
mov edi, eax
test edi, edi
je 0x10122895
mov edx, dword [ebp - 4]
jmp 0x10122180
cmp bl, 0xb8
jne case.default.0x10122202
lea eax, [ebp - 0x7c]
or esi, 0x20000
push eax
push edi
call fcn.100c29b0
mov ebx, dword [ebp - 8]
mov edi, eax
mov eax, dword [ebp - 0x7c]
add esp, 8
mov dword [ebx + 0x6c], eax
test edi, edi
je 0x10122895
mov edx, dword [ebp - 4]
jmp 0x10122180
mov eax, ebx
and al, 7
cmp al, 4
je 0x10122878
test ebx, ebx
je 0x10122878
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push edi
add eax, 4
push eax
push ebx
call fcn.100c3a10
mov ebx, dword [ebp - 8]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10122895
mov edx, dword [ebp - 4]
jmp 0x10122180
mov edx, dword [ebp - 4]
lea eax, [ebx - 1]
mov ebx, dword [ebp - 8]
mov dword [edx + 0x3c], eax
mov eax, edi
or dword [ebx + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 8]
xor edi, edi
or dword [ebx + 8], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8