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

Disassembly:
mov eax, 0x10219819
call fcn.10210210
sub esp, 0x24
push ebx
push ebp
mov ebx, ecx
xor ecx, ecx
push esi
push edi
mov edi, dword [ebx + 0x2c]
cmp dword [edi + 0x5c], ecx
jbe 0x10078099
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x4c]
call dword [eax + 0x168]
push dword [ebx + 0x88]
lea ecx, [edi + 0x5c]
mov esi, eax
push ebx
call fcn.1008687b
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, ecx
mov dword [ecx + 4], esi
jmp 0x10078327
cmp dword [ebx + 0x28], ecx
jne 0x1007831e
cmp dword [edi + 0x74], 0xff
je 0x1007831e
cmp dword [edi + 0x74], ecx
je 0x1007831e
mov esi, dword [esp + 0x4c]
lea ecx, [esi + 0xfc]
call fcn.10013d77
push dword [ebx + 0x2c]
mov ecx, esi
mov ebp, eax
call fcn.1008cc6d
mov edi, eax
mov dword [esp + 0x14], 0x102b807c
and dword [esp + 0x3c], 0
mov ecx, dword [ebx + 0x2c]
add ecx, 0x6c
call fcn.10003a2e
mov esi, eax
test esi, esi
je 0x10078132
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x34]
test al, al
jne 0x10078132
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
add ecx, 8
mov dword [esp + 0x28], ecx
mov dword [esi], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 4], ecx
lea ecx, [esp + 0x14]
call fcn.100026e7
mov eax, esi
jmp 0x10078327
mov eax, dword [ebx + 0x2c]
mov esi, SysReAllocStringLen
cmp dword [eax + 0x78], esi
je 0x10078268
cmp dword [eax + 0x78], 4
jl 0x10078268
mov eax, dword [ebp]
mov ecx, ebp
push edi
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x20]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x440]
mov edx, eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0x78]
cmp ecx, esi
je 0x100782e9
cmp ecx, 4
je 0x10078250
jle 0x100782e9
cmp ecx, 6
jle 0x1007820a
cmp ecx, 8
jg 0x100782e9
mov eax, ecx
xor ecx, ecx
cmp eax, esi
cmove eax, ecx
lea ecx, [esp + 0x18]
cmp eax, 8
sete al
movzx eax, al
push eax
call fcn.10133ec1
pop ecx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
call fcn.101313f0
lea ecx, [esp + 0x14]
push dword [eax]
call fcn.10131585
lea ecx, [esp + 0x1c]
call fcn.100026e7
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.10002371
push 0x2e
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.10131886
lea ecx, [esp + 0x14]
push dword [eax]
call fcn.10131585
lea ecx, [esp + 0x20]
call fcn.100026e7
jmp 0x100782e9
mov eax, ecx
xor ecx, ecx
cmp eax, esi
cmove eax, ecx
lea ecx, [esp + 0x28]
cmp eax, 6
sete al
movzx eax, al
push eax
call fcn.10133d56
pop ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 2
call fcn.101313f0
lea ecx, [esp + 0x14]
push dword [eax]
call fcn.10131585
lea ecx, [esp + 0x24]
call fcn.100026e7
lea ecx, [esp + 0x28]
jmp 0x100781d7
push edx
lea eax, [esp + 0x18]
push 0x1025e7b0
push eax
call fcn.10131e9a
add esp, 0xc
jmp 0x100782e9
mov eax, dword [eax + 0x78]
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x18], 0x5a
cmp eax, esi
cmove eax, ecx
dec eax
je 0x1007829b
dec eax
je 0x10078294
dec eax
jne 0x100782a0
mov edi, 0x25a0
mov dword [esp + 0x18], 0x46
jmp 0x100782a0
mov edi, 0x25cb
jmp 0x100782a0
mov edi, 0x25cf
push str.Times_New_Roman
lea ecx, [esp + 0x20]
call fcn.10016882
push ecx
mov byte [esp + 0x40], 3
lea ecx, [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [ebp]
push 0
push 0
call fcn.100f349b
add esp, 0xc
mov ecx, ebp
push eax
call dword [esi + 0xc]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 0
call fcn.10002371
push edi
lea ecx, [esp + 0x18]
call fcn.10051103
mov esi, dword [esp + 0x14]
mov ecx, ebx
mov eax, dword [ebx]
push dword [esp + 0x4c]
mov edi, dword [esi + 4]
call dword [eax + 0x168]
mov edx, dword [ebp]
add esi, 8
push edi
push esi
mov ecx, ebp
mov ebx, eax
call dword [edx + 0x2c]
mov esi, dword [esp + 0x48]
add eax, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
jmp 0x10078122
mov eax, dword [esp + 0x48]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 8