Function at 0x100936f0
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 0x1009372e
cmp eax, 3
jne 0x10093756
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 0x100937a2
cmp eax, 3
je 0x1009374c
jmp 0x10093753
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 0x10093753
cmp eax, 2
jne 0x10093753
mov ecx, esi
call fcn.10040bf0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
or eax, ecx
je 0x10093765
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 0x1009375d
cmp eax, 1
je 0x1009375d
cmp byte [esi + 0xe9], 0
jne 0x1009375d
cmp dword [esi + 0xa8], 0
je 0x10093929
mov byte [esi + 0x93], 1
jmp 0x1009375d
cmp byte [esi + 0x91], 1
jne 0x10093820
mov al, byte [esi + 0x74]
cmp al, 0xb
je 0x100937cd
cmp al, 0xa
jb 0x100937cd
cmp dword [esi + 0x7c], 0
je 0x100937cd
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 0x10093753
mov eax, dword [0x10551ebc]
cmp eax, 5
jb 0x1009382f
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x1009374c
mov ecx, dword [0x104114d0]
test ecx, ecx
je 0x1009374c
mov al, 1
cmp ecx, 1
je 0x1009385e
cmp ecx, 2
jne 0x10093cd7
mov al, 2
movzx edx, al
mov ecx, 0x104114d0
call fcn.10109ff0
test al, al
je 0x1009374c
mov ecx, dword [0x104114d4]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10093d66
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x34]
mov ebp, dword [ecx + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 0x38], 0x1039a48c
mov dword [esp + 0x20], 0x1039a4f4
mov dword [esp + 0x24], 2
mov dword [esp + 0x3c], 0x100093b0
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], 0x100405a0
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], 0x103986f0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], edx
lea edx, [esp + 0x48]
call fcn.1010a850
jmp 0x1009374c
lea edx, [esi + 0x98]
lea ecx, [esp + 0x48]
push edi
call fcn.10093dd0
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, 1
je 0x10093a39
cmp eax, 2
jne 0x10093bd5
mov eax, dword [0x10551ebc]
cmp eax, 5
jb 0x10093961
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x1009375d
mov ecx, dword [0x1041147c]
test ecx, ecx
je 0x1009375d
mov al, 1
cmp ecx, 1
je 0x10093990
cmp ecx, 2
jne 0x10093d21
mov al, 2
movzx edx, al
mov ecx, 0x1041147c
call fcn.10109ff0
test al, al
je 0x1009375d
mov ecx, dword [0x10411480]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10093d97
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], 0x1039a52c
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], 0x103986f0
mov dword [esp], edx
mov edx, esp
mov dword [esp + 4], 1
mov dword [esp + 8], ebx
call fcn.1010a850
jmp 0x1009375d
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp + 0x54], xmm0
mov eax, dword [0x10551ebc]
cmp eax, 5
jb 0x10093a54
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x10093b37
mov ecx, dword [0x10411488]
test ecx, ecx
je 0x10093b37
mov al, 1
cmp ecx, 1
je 0x10093a83
cmp ecx, 2
jne 0x10093d38
mov al, 2
movzx edx, al
mov ecx, 0x10411488
call fcn.10109ff0
test al, al
je 0x10093b37
mov ecx, dword [0x1041148c]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10093da8
mov edx, dword [ecx + 0x2c]
mov edi, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 0x1039a544
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.100f9290
mov dword [esp + 0x34], 1
mov dword [esp], edx
mov edx, esp
mov dword [esp + 4], edi
mov dword [esp + 8], 0x103986f0
mov dword [esp + 0x38], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ebp
call fcn.1010a850
mov ecx, esi
call fcn.10040bf0
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 0x10093d7f
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 0x10093d86
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [edi], eax
mov dword [edi + 4], 0x10384ecc
lea ebx, [esi + 0x70]
mov ebp, dword [esi + 0x70]
test ebp, ebp
je 0x10093d1a
mov eax, dword [ebp]
test eax, eax
je 0x10093d0a
mov ecx, dword [ebp + 4]
push eax
call dword [ecx]
add esp, 4
mov eax, dword [ebp + 4]
cmp dword [eax + 4], 0
je 0x10093d0a
mov ebp, dword [ebp]
cmp dword [eax + 8], 9
jae 0x10093cfa
call sub.KERNEL32.dll_GetProcessHeap
push ebp
jmp 0x10093d02
cmp dword [esp + 0x4c], 0
jne 0x10093799
mov eax, dword [0x10551ebc]
cmp eax, 5
jb 0x10093bef
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x10093cc2
mov ecx, dword [0x10411470]
test ecx, ecx
je 0x10093cc2
mov al, 1
cmp ecx, 1
je 0x10093c1e
cmp ecx, 2
jne 0x10093d4f
mov al, 2
movzx edx, al
mov ecx, 0x10411470
call fcn.10109ff0
test al, al
je 0x10093cc2
mov ecx, dword [0x10411474]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10093db9
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], 0x1039a514
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], 0x103986f0
mov dword [esp], edx
mov edx, esp
mov dword [esp + 4], 1
mov dword [esp + 8], ebp
call fcn.1010a850
cmp byte [esi + 0x91], 0
je 0x10093cee
mov ecx, esi
call fcn.10040d40
jmp 0x1009375d
mov ecx, 0x104114d0
call fcn.10109f40
test al, al
jne 0x1009385e
jmp 0x1009374c
mov ecx, esi
call fcn.10040bf0
jmp 0x1009375d
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 0x10093799
mov ecx, 0x1041147c
call fcn.10109f40
test al, al
jne 0x10093990
jmp 0x1009375d
mov ecx, 0x10411488
call fcn.10109f40
test al, al
jne 0x10093a83
jmp 0x10093b37
mov ecx, 0x10411470
call fcn.10109f40
test al, al
jne 0x10093c1e
jmp 0x10093cc2
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039a504
call fcn.1000a9c0
add esp, 4
ud2
mov ecx, 0xc
jmp 0x10093d8b
mov ecx, 8
mov edx, 4
call fcn.100067d0
ud2
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039a534
jmp 0x10093d75
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039a54c
jmp 0x10093d75
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039a51c
jmp 0x10093d75