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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
cmp dword [ecx + 0x38], edi
jbe 0x1009c691
mov ecx, dword [ecx + 0x30]
imul edx, edi, 0xf0
cmp dword [ecx + edx], 1
jne 0x1009c691
cmp dword [ecx + edx + 0x30], eax
jne 0x1009c691
cmp byte [ecx + edx + 0x34], 6
lea esi, [ecx + edx]
mov dword [esp + 0x5c], esi
sete bh
cmp dword [ecx + edx + 0x38], 0
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
setne bl
and bl, bh
mov byte [esp + 5], bl
cmp dword [esi], 1
jne 0x1009c691
lea esi, [ecx + edx + 0x30]
cmp dword [esi], eax
jne 0x1009c691
lea ebx, [ecx + edx + 0x34]
cmp byte [ebx], 6
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
sete byte [esp + 6]
cmp dword [edi], 1
jne 0x1009c691
cmp dword [esi], eax
jne 0x1009c691
mov al, byte [ecx + edx + 0x68]
xor al, 1
mov byte [esp + 7], al
mov eax, dword [0x10551ebc]
cmp eax, 5
jb 0x1009bfc7
mov dword [esp + 0x60], 5
mov dword [esp + 0x64], 0x1039b461
mov dword [esp + 0x68], 0x18
mov eax, dword [0x10551ec0]
lea eax, [esp + 0x60]
push eax
push str.formatter_errorfailed_to_write_whole_buffer
call fcn.100361d0
add esp, 8
test al, al
je 0x1009bfc7
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
cmp dword [edx + 0x38], ecx
jbe 0x1009c69c
mov edx, dword [edx + 0x30]
imul edi, ecx, 0xf0
cmp dword [edx + edi], 1
jne 0x1009c69c
cmp dword [edx + edi + 0x30], eax
jne 0x1009c69c
mov dword [esp + 8], ecx
lea esi, [edx + edi]
mov dword [esp + 0xc], eax
cmp dword [esi], 1
jne 0x1009c69c
lea ecx, [edx + edi + 0x30]
cmp dword [ecx], eax
jne 0x1009c69c
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x1009c15e
mov ecx, dword [0x10410bac]
test ecx, ecx
je 0x1009c15e
mov al, 1
cmp ecx, 1
je 0x1009bff6
cmp ecx, 2
jne 0x1009c63b
mov al, 2
movzx edx, al
mov ecx, 0x10410bac
call fcn.10109ff0
test al, al
je 0x1009c15e
mov ecx, dword [0x10410bb0]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1009c6b2
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov edx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
cmp dword [edx + 0x38], edi
jbe 0x1009c691
mov edx, dword [edx + 0x30]
imul ebx, edi, 0xf0
cmp dword [edx + ebx], 1
jne 0x1009c691
cmp dword [edx + ebx + 0x30], eax
jne 0x1009c691
mov dword [esp + 0x60], edi
lea esi, [edx + ebx]
mov dword [esp + 0x64], eax
cmp dword [esi], 1
jne 0x1009c691
lea esi, [edx + ebx + 0x30]
cmp dword [esi], eax
jne 0x1009c691
lea edi, [esp + 0x38]
lea edx, [edx + ebx + 0x34]
lea ebx, [esp + 6]
mov dword [esp + 8], 0x1039b47c
mov dword [esp + 0xc], 7
mov dword [esp + 0x10], 0
lea eax, [ecx + 0x2c]
mov dword [esp + 0x60], edi
lea edi, [esp + 5]
mov dword [esp + 0x64], fcn.1001a8e0
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], fcn.100189c0
mov dword [esp + 0x70], edi
lea edi, [esp + 7]
mov dword [esp + 0x74], 0x1000b4e0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 0x1000b4e0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], 0x1000b4e0
mov dword [esp + 0x88], edx
lea edx, [esp + 0x60]
mov dword [esp + 0x8c], 0x10019a20
mov dword [esp + 0x18], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x1c], 6
mov dword [esp + 0x20], edx
lea edx, [esp + 8]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x28], 0x103986f0
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], eax
call fcn.1010a850
cmp byte [esp + 5], 0
je 0x1009c2a2
mov eax, dword [0x10551ebc]
cmp eax, 5
jb 0x1009c1df
mov dword [esp + 0x60], 5
mov dword [esp + 0x64], 0x1039b461
mov dword [esp + 0x68], 0x18
mov eax, dword [0x10551ec0]
lea eax, [esp + 0x60]
push eax
push str.formatter_errorfailed_to_write_whole_buffer
call fcn.100361d0
add esp, 8
test al, al
je 0x1009c1df
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
cmp dword [edx + 0x38], ecx
jbe 0x1009c69c
mov edx, dword [edx + 0x30]
imul ecx, ecx, 0xf0
cmp dword [edx + ecx], 1
jne 0x1009c69c
cmp dword [edx + ecx + 0x30], eax
jne 0x1009c69c
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x1009c633
mov ecx, dword [0x10410bb8]
test ecx, ecx
je 0x1009c633
mov al, 1
cmp ecx, 1
je 0x1009c20e
cmp ecx, 2
jne 0x1009c652
mov al, 2
movzx edx, al
mov ecx, 0x10410bb8
call fcn.10109ff0
test al, al
je 0x1009c633
mov ecx, dword [0x10410bbc]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1009c6c3
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
cmp dword [edx + 0x38], esi
jbe 0x1009c691
mov edx, dword [edx + 0x30]
imul esi, esi, 0xf0
cmp dword [edx + esi], 1
jne 0x1009c691
cmp dword [edx + esi + 0x30], eax
jne 0x1009c691
lea eax, [ecx + 0x2c]
lea edx, [edx + esi + 0x30]
mov dword [esp + 0x60], 0x1039b530
jmp 0x1009c43a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
cmp dword [ecx + 0x38], edx
jbe 0x1009c6a7
mov ecx, dword [ecx + 0x30]
imul edx, edx, 0xf0
cmp dword [ecx + edx], 1
jne 0x1009c6a7
cmp dword [ecx + edx + 0x30], eax
jne 0x1009c6a7
mov eax, dword [esp + 0x38]
mov byte [ecx + edx + 0x34], 6
mov dword [ecx + edx + 0x38], 2
mov dword [ecx + edx + 0x3c], eax
cmp byte [esp + 6], 0
je 0x1009c4a0
cmp byte [esp + 7], 0
je 0x1009c4a0
mov eax, dword [0x10551ebc]
cmp eax, 5
jb 0x1009c37c
mov dword [esp + 0x60], 5
mov dword [esp + 0x64], 0x1039b461
mov dword [esp + 0x68], 0x18
mov eax, dword [0x10551ec0]
lea eax, [esp + 0x60]
push eax
push str.formatter_errorfailed_to_write_whole_buffer
call fcn.100361d0
add esp, 8
test al, al
je 0x1009c37c
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
cmp dword [edx + 0x38], ecx
jbe 0x1009c69c
mov edx, dword [edx + 0x30]
imul ecx, ecx, 0xf0
cmp dword [edx + ecx], 1
jne 0x1009c69c
cmp dword [edx + ecx + 0x30], eax
jne 0x1009c69c
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x1009c633
mov ecx, dword [0x10410bc4]
test ecx, ecx
je 0x1009c633
mov al, 1
cmp ecx, 1
je 0x1009c3ab
cmp ecx, 2
jne 0x1009c666
mov al, 2
movzx edx, al
mov ecx, 0x10410bc4
call fcn.10109ff0
test al, al
je 0x1009c633
mov ecx, dword [0x10410bc8]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1009c6d4
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
cmp dword [edx + 0x38], esi
jbe 0x1009c691
mov edx, dword [edx + 0x30]
imul esi, esi, 0xf0
cmp dword [edx + esi], 1
jne 0x1009c691
cmp dword [edx + esi + 0x30], eax
jne 0x1009c691
lea edx, [edx + esi + 0x30]
lea eax, [ecx + 0x2c]
mov dword [esp + 0x60], 0x1039b550
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], fcn.100189c0
lea edx, [esp + 0x2c]
mov dword [esp + 0x64], 2
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], edx
lea edx, [esp + 8]
mov dword [esp + 0x74], 1
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x60]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x44], 0x103986f0
mov dword [esp + 0x20], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
call fcn.1010a850
jmp 0x1009c633
mov ecx, dword [esp + 0x58]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
add ecx, 0x10
mov ebx, ecx
push esi
call fcn.1009c900
add esp, 4
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
cmp dword [ecx + 0x38], edx
jbe 0x1009c691
mov ecx, dword [ecx + 0x30]
imul edx, edx, 0xf0
cmp dword [ecx + edx], 1
jne 0x1009c691
cmp dword [ecx + edx + 0x30], eax
jne 0x1009c691
lea eax, [ecx + edx + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov eax, dword [0x10551ebc]
cmp eax, 5
jb 0x1009c50f
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x1009c5f5
mov ecx, dword [0x10410bd0]
test ecx, ecx
je 0x1009c5f5
mov al, 1
cmp ecx, 1
je 0x1009c53e
cmp ecx, 2
jne 0x1009c67a
mov al, 2
movzx edx, al
mov ecx, 0x10410bd0
call fcn.10109ff0
test al, al
je 0x1009c5f5
mov ecx, dword [0x10410bd4]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1009c6e5
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
mov dword [esp + 8], 0
mov dword [esp + 0x60], 0x1039b570
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
lea esi, [esp + 0x50]
lea edx, [esp + 0x2c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x70], edx
lea esi, [esp + 8]
lea edx, [esp + 0x60]
mov dword [esp + 0x30], fcn.1002d6c0
mov dword [esp + 0x74], 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
lea esi, [esp + 0x3c]
lea edx, [ecx + 0x2c]
mov dword [esp + 0x44], 0x103986f0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], edx
lea edx, [esp + 0x20]
call fcn.1010a850
mov ecx, dword [esp + 0x50]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x54]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov byte [esp + 0x60], 8
lea edx, [esp + 0x60]
mov ecx, ebx
push eax
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.1009cfb0
add esp, 0xc
mov ecx, ebx
mov edx, edi
push esi
call fcn.1001e3e0
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x10410bac
call fcn.10109f40
test al, al
jne 0x1009bff6
jmp 0x1009c15e
mov ecx, 0x10410bb8
call fcn.10109f40
test al, al
jne 0x1009c20e
jmp 0x1009c633
mov ecx, 0x10410bc4
call fcn.10109f40
test al, al
jne 0x1009c3ab
jmp 0x1009c633
mov ecx, 0x10410bd0
call fcn.10109f40
test al, al
jne 0x1009c53e
jmp 0x1009c5f5
lea ecx, [esp + 0x60]
call fcn.10019170
ud2
lea ecx, [esp + 8]
call fcn.10019170
ud2
lea ecx, [esp + 0x60]
call fcn.100191c0
ud2
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039b520
jmp 0x1009c6f4
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039b540
jmp 0x1009c6f4
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039b560
jmp 0x1009c6f4
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039b578
call fcn.1000a9c0
add esp, 4
ud2