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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ecx + 0x40]
mov edi, edx
mov esi, ecx
cmp eax, 4
je 0x1009349e
cmp eax, 3
jne 0x100934c6
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
add ecx, 0xfffffffd
adc eax, 0xffffffff
cmp ecx, 4
sbb eax, 0
mov eax, 1
cmovb eax, ecx
cmp eax, 2
je 0x10093512
cmp eax, 3
je 0x100934bc
jmp 0x100934c3
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov ebx, 3
add eax, 0xfffffffd
adc ecx, 0xffffffff
xor edx, edx
cmp ebx, eax
sbb edx, ecx
jb 0x100934c3
cmp eax, 2
jne 0x100934c3
mov ecx, esi
call fcn.10040940
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
or eax, ecx
je 0x100934d5
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov ebx, 3
add eax, 0xfffffffd
adc ecx, 0xffffffff
xor edx, edx
cmp ebx, eax
sbb edx, ecx
jb 0x100934cd
cmp eax, 1
je 0x100934cd
cmp byte [esi + 0xe9], 0
jne 0x100934cd
cmp dword [esi + 0xa8], 0
je 0x10093699
mov byte [esi + 0x93], 1
jmp 0x100934cd
cmp byte [esi + 0x91], 1
jne 0x10093590
mov al, byte [esi + 0x74]
cmp al, 0xb
je 0x1009353d
cmp al, 0xa
jb 0x1009353d
cmp dword [esi + 0x7c], 0
je 0x1009353d
mov ebx, dword [esi + 0x78]
call sub.KERNEL32.dll_GetProcessHeap
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov byte [esi + 0x74], 0xb
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
movsd qword [esi + 0x75], xmm0
movsd qword [esi + 0x7d], xmm1
mov eax, dword [esp + 0x2f]
mov dword [esi + 0x84], eax
mov byte [esi + 0x91], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 3
mov byte [esi + 0x93], 1
jmp 0x100934c3
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x1009359f
mov eax, dword [0x104debfc]
mov eax, dword [0x104d53e8]
dec eax
cmp eax, 5
jb 0x100934bc
mov ecx, dword [0x104d4f60]
test ecx, ecx
je 0x100934bc
mov al, 1
cmp ecx, 1
je 0x100935ce
cmp ecx, 2
jne 0x10093a47
mov al, 2
movzx edx, al
mov ecx, 0x104d4f60
call fcn.10109d10
test al, al
je 0x100934bc
mov ecx, dword [0x104d4f64]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10093ad6
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x34]
mov ebp, dword [ecx + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 0x38], 0x1041b6fc
mov dword [esp + 0x20], 0x1041b764
mov dword [esp + 0x24], 2
mov dword [esp + 0x3c], 0x10009120
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
lea ebx, [esi + 0x91]
lea edx, [esp + 0x38]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], edx
lea ebx, [esp + 0xc]
lea edx, [esp + 0x20]
mov dword [esp + 0x44], 0x100402f0
mov dword [esp + 0x34], 2
mov dword [esp], ebx
mov dword [esp + 4], edx
mov ebx, esp
lea edx, [ecx + 0x2c]
mov dword [esp + 8], 0x10419960
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], edx
lea edx, [esp + 0x48]
call fcn.1010a570
jmp 0x100934bc
lea edx, [esi + 0x98]
lea ecx, [esp + 0x48]
push edi
call fcn.10093b40
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, 1
je 0x100937a9
cmp eax, 2
jne 0x10093945
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x100936d1
mov eax, dword [0x104debfc]
mov eax, dword [0x104d53e8]
dec eax
cmp eax, 5
jb 0x100934cd
mov ecx, dword [0x104d4f0c]
test ecx, ecx
je 0x100934cd
mov al, 1
cmp ecx, 1
je 0x10093700
cmp ecx, 2
jne 0x10093a91
mov al, 2
movzx edx, al
mov ecx, 0x104d4f0c
call fcn.10109d10
test al, al
je 0x100934cd
mov ecx, dword [0x104d4f10]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10093b07
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
mov dword [esp + 0xc], 0
lea ebx, [ecx + 0x2c]
mov dword [esp + 0x20], 0x1041b79c
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], str.formatter_errorfailed_to_write_whole_buffer
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x10419960
mov dword [esp], edx
mov edx, esp
mov dword [esp + 4], 1
mov dword [esp + 8], ebx
call fcn.1010a570
jmp 0x100934cd
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp + 0x54], xmm0
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x100937c4
mov eax, dword [0x104debfc]
mov eax, dword [0x104d53e8]
dec eax
cmp eax, 5
jb 0x100938a7
mov ecx, dword [0x104d4f18]
test ecx, ecx
je 0x100938a7
mov al, 1
cmp ecx, 1
je 0x100937f3
cmp ecx, 2
jne 0x10093aa8
mov al, 2
movzx edx, al
mov ecx, 0x104d4f18
call fcn.10109d10
test al, al
je 0x100938a7
mov ecx, dword [0x104d4f1c]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10093b18
mov edx, dword [ecx + 0x2c]
mov edi, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 0x1041b7b4
mov dword [esp + 0x24], 1
lea ebp, [ecx + 0x2c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
lea edi, [esp + 0x5c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x5c], edx
lea edx, [esp + 0xc]
mov dword [esp + 0x30], edi
lea edi, [esp + 0x20]
mov dword [esp + 0x60], fcn.100f8fb0
mov dword [esp + 0x34], 1
mov dword [esp], edx
mov edx, esp
mov dword [esp + 4], edi
mov dword [esp + 8], 0x10419960
mov dword [esp + 0x38], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ebp
call fcn.1010a570
mov ecx, esi
call fcn.10040940
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10093aef
mov dword [eax], 0
mov edi, eax
mov byte [eax + 8], 6
call sub.KERNEL32.dll_GetProcessHeap
push 8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10093af6
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [edi], eax
mov dword [edi + 4], 0x1040613c
lea ebx, [esi + 0x70]
mov ebp, dword [esi + 0x70]
test ebp, ebp
je 0x10093a8a
mov eax, dword [ebp]
test eax, eax
je 0x10093a7a
mov ecx, dword [ebp + 4]
push eax
call dword [ecx]
add esp, 4
mov eax, dword [ebp + 4]
cmp dword [eax + 4], 0
je 0x10093a7a
mov ebp, dword [ebp]
cmp dword [eax + 8], 9
jae 0x10093a6a
call sub.KERNEL32.dll_GetProcessHeap
push ebp
jmp 0x10093a72
cmp dword [esp + 0x4c], 0
jne 0x10093509
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x1009395f
mov eax, dword [0x104debfc]
mov eax, dword [0x104d53e8]
dec eax
cmp eax, 5
jb 0x10093a32
mov ecx, dword [0x104d4f00]
test ecx, ecx
je 0x10093a32
mov al, 1
cmp ecx, 1
je 0x1009398e
cmp ecx, 2
jne 0x10093abf
mov al, 2
movzx edx, al
mov ecx, 0x104d4f00
call fcn.10109d10
test al, al
je 0x10093a32
mov ecx, dword [0x104d4f04]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10093b29
mov edx, dword [ecx + 0x2c]
mov edi, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov dword [esp + 0xc], 0
lea ebp, [ecx + 0x2c]
mov dword [esp + 0x20], 0x1041b784
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], str.formatter_errorfailed_to_write_whole_buffer
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0x10419960
mov dword [esp], edx
mov edx, esp
mov dword [esp + 4], 1
mov dword [esp + 8], ebp
call fcn.1010a570
cmp byte [esi + 0x91], 0
je 0x10093a5e
mov ecx, esi
call fcn.10040a90
jmp 0x100934cd
mov ecx, 0x104d4f60
call fcn.10109c60
test al, al
jne 0x100935ce
jmp 0x100934bc
mov ecx, esi
call fcn.10040940
jmp 0x100934cd
call sub.KERNEL32.dll_GetProcessHeap
push dword [ebp - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov ebp, dword [ebx]
call sub.KERNEL32.dll_GetProcessHeap
push ebp
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov dword [ebx], edi
jmp 0x10093509
mov ecx, 0x104d4f0c
call fcn.10109c60
test al, al
jne 0x10093700
jmp 0x100934cd
mov ecx, 0x104d4f18
call fcn.10109c60
test al, al
jne 0x100937f3
jmp 0x100938a7
mov ecx, 0x104d4f00
call fcn.10109c60
test al, al
jne 0x1009398e
jmp 0x10093a32
mov ecx, 0x1041992d
mov edx, 0x22
push 0x1041b774
call fcn.1000a730
add esp, 4
ud2
mov ecx, 0xc
jmp 0x10093afb
mov ecx, 8
mov edx, 4
call fcn.10006540
ud2
mov ecx, 0x1041992d
mov edx, 0x22
push 0x1041b7a4
jmp 0x10093ae5
mov ecx, 0x1041992d
mov edx, 0x22
push 0x1041b7bc
jmp 0x10093ae5
mov ecx, 0x1041992d
mov edx, 0x22
push 0x1041b78c
jmp 0x10093ae5