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

Disassembly:
sub esp, 0x40
push esi
mov esi, dword [esp + 0x48]
test byte [esi + 0x54], 0x10
push edi
mov edi, ecx
je case.0x30016781.3
mov eax, dword [esi + 0x18]
test eax, eax
mov dword [esp + 0xc], eax
mov ecx, 0x60
je 0x30016765
cmp dword [eax + 0x78], ecx
jne 0x30016788
mov eax, dword [eax + 0x70]
test eax, eax
jne 0x30016755
mov dword [esp + 0xc], eax
mov byte [esp + 0x4c], 0x62
mov cl, byte [esp + 0x4c]
movzx eax, cl
cmp eax, 0x62
ja case.0x30016781.3
movzx eax, byte [eax + 0x3001718c]
jmp dword [eax*4 + 0x30017180]
mov cl, byte [eax + 0x78]
mov dword [esp + 0xc], eax
mov byte [esp + 0x4c], cl
jmp 0x3001676e
cmp cl, 9
jne 0x300167ae
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x18]
test byte [edx + 0x128], 8
je 0x300167ae
mov byte [esp + 0x4c], 4
mov ecx, esi
call fcn.300d1800
test eax, eax
je 0x300167db
mov eax, dword [edi]
push esi
push eax
lea ecx, [esp + 0x3c]
call fcn.30013120
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x300167db
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x300167db
mov byte [esp + 0x4c], 2
push ebx
push ebp
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.3000f2d0
mov edx, dword [edi + 0x20]
mov ebp, dword [esp + 0x28]
add edx, 0x28
mov ecx, dword [edx]
mov eax, dword [edx + 4]
cmp ebp, eax
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
jge case.0x30016a24.3
cmp dword [esp + 0x2c], ecx
jle case.0x30016a24.3
cmp dword [esp + 0x30], edx
jge case.0x30016a24.3
cmp dword [esp + 0x34], ebx
jle case.0x30016a24.3
mov eax, dword [esi + 4]
mov ebp, dword [eax + 0x20]
test ebp, ebp
je 0x30016a0a
mov al, byte [edi + 0x29]
test al, al
je 0x30016a0a
mov ecx, dword [edi]
push esi
push ecx
lea ecx, [esp + 0x30]
call fcn.30013030
push str.silent
lea ecx, [esp + 0x2c]
call fcn.30011f00
test al, al
mov edx, dword [ebp]
mov ecx, ebp
je 0x30016886
call dword [edx + 0x78]
test eax, eax
je 0x30016a0a
push 0
mov ecx, esi
call fcn.300d8bf0
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x80]
jmp 0x30016a0a
call dword [edx + 0x78]
cmp eax, 1
mov dword [esp + 0x20], eax
je 0x30016983
push 0x3029407c
lea ecx, [esp + 0x2c]
call fcn.30011f80
test eax, eax
mov dword [esp + 0x24], eax
je 0x30016947
mov eax, dword [esp + 0x20]
test eax, eax
je 0x30016947
mov ebx, dword [ebp + 0x48]
test ebx, ebx
je 0x30016947
mov cl, byte [ebx + 0x18]
test cl, cl
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0
mov byte [esp + 0x18], 0
je 0x300168f0
mov ecx, dword [ebx + 0x1c]
mov dl, byte [ebx + 0x19]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x18], dl
test eax, eax
je 0x30016910
mov ecx, dword [esp + 0x1c]
push 0
call fcn.300d8bf0
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebx + 0x3c], 0
call dword [eax + 0x80]
mov ecx, dword [ebx]
push ebx
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [ebp + 0x48], 0
je 0x30016947
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
push edx
push ebx
mov ecx, edi
call fcn.30016730
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x30016947
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x1c], ecx
mov ebx, dword [esp + 0x24]
mov edx, dword [ebp + 0x20]
push ebx
push edx
call fcn.3000ed40
add esp, 8
test eax, eax
je 0x3001697a
mov eax, dword [ebp + 0x20]
push eax
call fcn.30208320
mov edx, dword [ebp]
add esp, 4
push 0x800c
mov ecx, ebp
mov dword [ebp + 0x20], ebx
call dword [edx + 0x7c]
jmp 0x30016983
push ebx
call fcn.30208320
add esp, 4
push 0x30294070
lea ecx, [esp + 0x2c]
call fcn.30011f80
mov ebx, eax
mov eax, dword [ebp + 0x24]
push ebx
push eax
call fcn.3000ed40
add esp, 8
test eax, eax
je 0x300169c0
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.30208320
mov edx, dword [ebp]
add esp, 4
push 0x800d
mov ecx, ebp
mov dword [ebp + 0x24], ebx
call dword [edx + 0x7c]
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x30016a0a
test eax, eax
je 0x30016a0a
push str.shortcut
lea ecx, [esp + 0x2c]
call fcn.30011f80
mov ebx, eax
mov eax, dword [ebp + 0x44]
push ebx
push eax
call fcn.3000ed40
add esp, 8
test eax, eax
je 0x30016a0a
mov ecx, dword [ebp + 0x44]
push ecx
call fcn.30208320
mov edx, dword [ebp]
add esp, 4
push 0x8012
mov ecx, ebp
mov dword [ebp + 0x44], ebx
call dword [edx + 0x7c]
mov bl, byte [esp + 0x54]
movzx eax, bl
add eax, 0xfffffffe
cmp eax, 0x60
ja case.0x30016a24.3
movzx eax, byte [eax + 0x30017208]
jmp dword [eax*4 + 0x300171f0]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x30016a58
mov edx, dword [ecx]
call dword [edx + 0x78]
cmp eax, 1
je 0x30016a58
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x20]
push 0
mov ecx, esi
call fcn.300d8bf0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x80]
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x20]
test ebx, ebx
jne 0x30016adc
mov ecx, dword [edi]
push esi
push ecx
lea ecx, [esp + 0x44]
call fcn.30013030
push str.silent
lea ecx, [esp + 0x40]
call fcn.30011f00
test al, al
jne 0x30016f1c
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x28]
push eax
push esi
mov ecx, edi
call fcn.300119a0
test al, al
je case.0x30016a24.3
push 0x5c
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x30016ac2
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x3c]
push ecx
push edx
push esi
push edi
mov ecx, eax
call fcn.30013f00
jmp 0x30016ac4
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x20], ecx
mov dl, byte [esp + 0x54]
mov byte [eax + 0x50], dl
mov byte [eax + 0x40], 0
push eax
jmp 0x30016c4c
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x78], 9
je 0x30016aee
cmp eax, dword [ebx + 0x54]
je 0x30016b59
mov dword [ebx + 0x54], eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x58]
push ecx
push esi
mov ecx, edi
call fcn.300119a0
mov eax, dword [esp + 0x54]
test eax, eax
je case.0x30016a24.3
mov edx, dword [ebx + 0x20]
push eax
push edx
call fcn.3000ed40
add esp, 8
test eax, eax
je 0x30016b4c
mov eax, dword [ebx + 0x20]
push eax
call fcn.30208320
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 0x58]
add esp, 4
test ecx, ecx
push 0x800c
je 0x30016b43
mov edx, dword [ecx]
call dword [edx + 0x7c]
jmp 0x30016b59
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
jmp 0x30016b59
mov ecx, dword [esp + 0x54]
push ecx
call fcn.30208320
add esp, 4
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x30016b68
push ebx
mov ecx, edi
call fcn.3000f360
mov edx, dword [edi + 0x18]
mov dword [ebx + 0x1c], edx
inc dword [edi + 0x18]
pop ebp
mov byte [ebx + 0x18], 1
pop ebx
pop edi
mov eax, 3
pop esi
add esp, 0x40
ret 8
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x30016bb1
mov edx, dword [ecx]
call dword [edx + 0x78]
cmp eax, 2
je 0x30016bb1
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x20]
push 0
mov ecx, esi
call fcn.300d8bf0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x80]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x30016c62
mov eax, dword [edi]
push esi
push eax
lea ecx, [esp + 0x44]
call fcn.30013030
push str.silent
lea ecx, [esp + 0x40]
call fcn.30011f00
test al, al
jne 0x30016f1c
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, edi
call fcn.300119a0
push 0x64
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x30016c19
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x3c]
push ecx
push edx
push esi
push edi
mov ecx, eax
call fcn.30013f70
mov edi, eax
jmp 0x30016c1b
xor edi, edi
mov eax, dword [esp + 0x24]
push 1
push str.tabEnabled
mov ecx, esi
mov dword [edi + 0x54], eax
call fcn.300d1620
test eax, eax
setne cl
mov byte [edi + 0x40], cl
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x18]
test byte [eax + 0x128], 0x10
je 0x30016c4b
mov byte [edi + 0x58], 1
push edi
mov ecx, esi
call fcn.300d8bf0
pop ebp
pop ebx
pop edi
mov eax, 3
pop esi
add esp, 0x40
ret 8
mov ebx, dword [eax + 0x20]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x58]
push edx
push esi
mov ecx, edi
call fcn.300119a0
mov eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0x54]
push eax
push ecx
call fcn.3000ed40
add esp, 8
test eax, eax
je 0x30016cd1
mov edx, dword [ebx + 0x54]
push edx
call fcn.30208320
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x54], eax
mov al, byte [edi + 0x29]
add esp, 4
test al, al
jne 0x30016cab
cmp dword [edi + 0x24], ebx
je 0x30016cde
mov al, byte [edi + 0x1c]
test al, al
jne 0x30016cde
mov edx, dword [ebx]
push 0x800e
mov ecx, ebx
call dword [edx + 0x7c]
push ebx
mov ecx, edi
call fcn.3000f360
mov ecx, dword [edi + 0x18]
mov dword [ebx + 0x1c], ecx
jmp 0x30016b6e
mov eax, dword [esp + 0x54]
push eax
call fcn.30208320
add esp, 4
push ebx
mov ecx, edi
call fcn.3000f360
mov ecx, dword [edi + 0x18]
mov dword [ebx + 0x1c], ecx
jmp 0x30016b6e
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x30016d1e
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 3
je 0x30016d1e
mov ecx, dword [esi + 4]
mov ebx, dword [ecx + 0x20]
push 0
mov ecx, esi
call fcn.300d8bf0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x80]
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x20]
test ebx, ebx
jne 0x30016d92
mov ecx, dword [edi]
push esi
push ecx
lea ecx, [esp + 0x44]
call fcn.30013030
push str.silent
lea ecx, [esp + 0x40]
call fcn.30011f00
test al, al
jne 0x30016f1c
push 0x54
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x30016d70
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x3c]
push edx
push ecx
push esi
push edi
mov ecx, eax
call fcn.30013ff0
mov ebx, eax
jmp 0x30016d72
xor ebx, ebx
push 1
push str.tabEnabled
mov ecx, esi
call fcn.300d1620
test eax, eax
setne dl
push ebx
mov ecx, esi
mov byte [ebx + 0x40], dl
call fcn.300d8bf0
jmp 0x30016da7
push ebx
mov ecx, edi
call fcn.3000f360
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x1c], eax
inc dword [edi + 0x18]
mov byte [ebx + 0x18], 1
mov al, byte [esp + 0x58]
test al, al
je 0x30016c53
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x30016c53
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x30016c53
mov esi, dword [esi + 0x10]
test esi, esi
je 0x30016c53
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x78]
cmp eax, 9
jne 0x30016df3
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x18]
test byte [eax + 0x128], 8
je 0x30016e0b
jmp 0x30016df8
cmp eax, 4
jne 0x30016e0b
push 1
push esi
mov ecx, edi
call fcn.30016730
cmp eax, 3
je 0x30016c53
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x30016dd7
pop ebp
pop ebx
pop edi
mov eax, 3
pop esi
add esp, 0x40
ret 8
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x30016e4e
mov edx, dword [ecx]
call dword [edx + 0x78]
cmp eax, 4
je 0x30016e4e
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x20]
push 0
mov ecx, esi
call fcn.300d8bf0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x80]
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x20]
test ebx, ebx
jne 0x30016b60
mov ecx, dword [edi]
push esi
push ecx
lea ecx, [esp + 0x44]
call fcn.30013030
push str.silent
lea ecx, [esp + 0x40]
call fcn.30011f00
test al, al
jne 0x30016f1c
push 0x54
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x30016ead
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x3c]
push edx
push ecx
push esi
push edi
mov ecx, eax
call fcn.30014050
mov byte [eax + 0x50], 1
mov byte [eax + 0x40], bl
push eax
jmp 0x30016c4c
xor eax, eax
mov byte [eax + 0x50], 1
mov byte [eax + 0x40], al
push eax
jmp 0x30016c4c
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x30016efd
mov edx, dword [ecx]
call dword [edx + 0x78]
cmp eax, 4
je 0x30016efd
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx]
call dword [edx + 0x78]
cmp eax, 5
je 0x30016efd
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x20]
push 0
mov ecx, esi
call fcn.300d8bf0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x80]
mov bl, byte [esp + 0x54]
mov eax, dword [edi]
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.30013030
push str.silent
lea ecx, [esp + 0x2c]
call fcn.30011f00
test al, al
je 0x30016f2b
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x40
ret 8
push 0x302944e8
lea ecx, [esp + 0x2c]
call fcn.30011f00
test al, al
je 0x30016f44
mov byte [esp + 0x58], 0
jmp 0x30016f53
cmp bl, 0x62
je 0x30016f4e
cmp bl, 0x61
jne 0x30016f53
mov byte [esp + 0x58], 1
mov ecx, dword [edi]
push esi
push ecx
lea ecx, [esp + 0x44]
call fcn.30013120
lea ecx, [esp + 0x3c]
call fcn.30012070
test al, al
je 0x30016f77
mov ebx, 1
jmp 0x3001706d
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jne 0x30016fe4
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x30016f91
mov eax, dword [esp + 0x40]
test eax, eax
je 0x30016fe0
mov eax, dword [edi]
push esi
push eax
lea ecx, [esp + 0x44]
call fcn.30013030
push 0x58
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x30016fc3
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x3c]
push ecx
push edx
push esi
push edi
mov ecx, eax
call fcn.300140c0
mov edi, eax
jmp 0x30016fc5
xor edi, edi
push 0
push str.tabEnabled
mov ecx, esi
call fcn.300d1620
test eax, eax
setne al
mov byte [edi + 0x40], al
jmp 0x30016c4b
test ecx, ecx
je 0x30017018
mov edx, dword [ecx]
call dword [edx + 0x78]
cmp eax, 5
jne 0x30017018
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x1c], ecx
inc dword [edi + 0x18]
push eax
mov ecx, edi
mov byte [eax + 0x18], 1
call fcn.3000f360
pop ebp
pop ebx
pop edi
mov eax, 3
pop esi
add esp, 0x40
ret 8
push str.forceSimple
lea ecx, [esp + 0x2c]
call fcn.30011f00
test al, al
je 0x30017031
mov ebx, 1
jmp 0x3001706d
push 1
push 0x302944d0
mov ecx, esi
call fcn.300d1620
test eax, eax
jne 0x3001704a
mov ebx, 1
jmp 0x3001706d
mov ebp, dword [esi + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x3001706d
mov edx, dword [esp + 0x58]
push edx
push ebp
mov ecx, edi
call fcn.30016730
cmp eax, ebx
jle 0x30017066
mov ebx, eax
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x30017053
cmp byte [esp + 0x54], 0x62
je 0x30017151
cmp ebx, 2
jne 0x3001708a
push esi
mov ecx, edi
call fcn.30016670
mov ebx, 1
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
xor ebp, ebp
test eax, eax
je 0x30017098
mov ebp, eax
lea ecx, [esp + 0x28]
call fcn.300130e0
test al, al
jne 0x300170e0
cmp ebx, 1
je 0x300170e0
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x30017151
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x80]
push 0
mov ecx, esi
call fcn.300d8bf0
push esi
mov ecx, edi
call fcn.30011ad0
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
add esp, 0x40
ret 8
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x30017128
push 0x54
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x30017119
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x28]
push ecx
push edx
push esi
push edi
mov ecx, eax
call fcn.30014050
push eax
mov ecx, esi
mov byte [eax + 0x40], 0
call fcn.300d8bf0
jmp 0x3001713d
xor eax, eax
push eax
mov ecx, esi
mov byte [eax + 0x40], al
call fcn.300d8bf0
jmp 0x3001713d
push ebp
mov ecx, edi
call fcn.3000f360
mov eax, dword [edi + 0x18]
mov dword [ebp + 0x1c], eax
inc dword [edi + 0x18]
mov byte [ebp + 0x18], 1
lea ecx, [esp + 0x28]
call fcn.300130e0
neg al
sbb eax, eax
neg eax
add eax, 2
mov ebx, eax
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
add esp, 0x40
ret 8
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x40
ret 8
pop edi
mov eax, 1
pop esi
add esp, 0x40
ret 8
pop edi
xor eax, eax
pop esi
add esp, 0x40
ret 8