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

Disassembly:
push 0xffffffffffffffff
push 0x12ac7a8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x13116ec]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x13116ec]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0xa0]
mov esi, edx
xor edx, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edx
cmp ecx, edx
jne 0x12207d4
cmp ebp, edx
jne 0x12207d8
mov al, 1
jmp 0x1220bd7
cmp ebp, edx
je 0x12207ea
cmp dword [ebp + 0x14], 0x10
mov dword [ebp + 0x10], edx
jb 0x12207e6
mov eax, dword [ebp]
jmp 0x12207e8
mov eax, ebp
mov byte [eax], dl
cmp ecx, edx
je 0x12207ff
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], edx
jb 0x12207fb
mov eax, dword [ecx]
jmp 0x12207fd
mov eax, ecx
mov byte [eax], dl
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], edx
mov byte [esp + 0x2c], dl
mov dword [esp + 0x8c], edx
cmp dword [esi + 0x14], 0x10
jb 0x1220824
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
jmp 0x1220828
mov dword [esp + 0x18], esi
mov edx, dword [esi + 0x10]
lea eax, [esp + 0x2c]
mov ecx, esi
mov dword [esp + 0x1c], edx
mov byte [esp + 0x17], 0
call fcn.01164bb0
test al, al
jne 0x1220a5c
test ebx, ebx
je 0x122086d
cmp byte [ebx], al
je 0x122086d
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1220854
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x34]
call fcn.010f8800
jmp 0x1220a74
mov ebx, dword [esi + 0x10]
cmp ebx, 0xc
jb 0x1220906
cmp dword [esi + 0x14], 0x10
mov ecx, 0xc
mov eax, 0x12bf218
jb 0x122088d
mov edx, dword [esi]
jmp 0x122088f
mov edx, esi
sub edx, 0x12bf218
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x12208bc
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x1220895
push 8
push str.UTF_16LE
lea ecx, [esp + 0x34]
call fcn.010f8800
jmp 0x1220a74
mov edi, dword [esp + 0x20]
cmp ebx, 0xc
jb 0x1220906
cmp dword [esi + 0x14], 0x10
mov ecx, 0xc
mov eax, 0x12bf224
jb 0x12208d9
mov edx, dword [esi]
jmp 0x12208db
mov edx, esi
sub edx, 0x12bf224
mov ebx, dword [edx + eax]
cmp ebx, dword [eax]
jne 0x1220906
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x12208e1
push str.UTF_16BE
lea ecx, [esp + 0x30]
call fcn.010fb320
jmp 0x1220a74
call fcn.01220680
mov bl, 1
test al, al
jne 0x1220999
cmp dword [esi + 0x10], 6
jb 0x122093d
cmp dword [esi + 0x14], 0x10
jb 0x1220925
mov eax, dword [esi]
jmp 0x1220927
mov eax, esi
mov ecx, dword [eax]
cmp ecx, dword [0x12bf1e4]
jne 0x122093d
cmp byte [eax + 4], 0x6c
jne 0x122093d
cmp byte [eax + 5], 0x20
je 0x1220999
test edi, edi
je 0x12209d1
push str.text_html
push edi
call fcn.01239991
add esp, 8
test eax, eax
jne 0x12209d1
cmp dword [esi + 0x14], 0x10
jb 0x1220965
mov ecx, dword [esi]
jmp 0x1220967
mov ecx, esi
lea edx, [esp + 0x48]
push edx
call fcn.0121fe00
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 2
call fcn.010f7740
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 0
call fcn.011b0ca0
jmp 0x12209d1
mov edi, esi
lea esi, [esp + 0x48]
call fcn.0121ee90
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], bl
call fcn.010f7740
mov byte [esp + 0x8c], 0
cmp dword [esp + 0x5c], 0x10
jb 0x12209d1
mov eax, dword [esp + 0x48]
push eax
call fcn.01238a36
add esp, 4
cmp dword [esp + 0x3c], 0
lea ecx, [esp + 0x2c]
jne 0x12209ed
push 5
push str.UTF_8
call fcn.010f8800
jmp 0x1220a74
push ecx
lea esi, [esp + 0x4c]
call fcn.01184010
add esp, 4
push 3
push 0
push 0x12d9dd8
mov ecx, eax
call fcn.010fd580
test eax, eax
jne 0x1220a3b
push 2
push eax
push 0x12d9de0
lea ecx, [esp + 0x38]
call fcn.010fd580
cmp eax, 0xffffffff
jne 0x1220a3d
push 2
push 0
push 0x12d9f18
lea ecx, [esp + 0x38]
call fcn.010fd580
cmp eax, 0xffffffff
jne 0x1220a3d
xor bl, bl
lea ecx, [esp + 0x48]
call fcn.011b0ca0
test bl, bl
je 0x1220a74
push 5
push str.UTF_8
lea ecx, [esp + 0x34]
call fcn.010f8800
jmp 0x1220a74
mov eax, esi
call fcn.012206f0
test eax, eax
je 0x1220a74
add dword [esp + 0x18], eax
sub dword [esp + 0x1c], eax
mov byte [esp + 0x17], 1
mov esi, 7
xor edx, edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], 0
mov word [esp + 0x64], dx
mov byte [esp + 0x8c], 3
cmp dword [esp + 0x40], 0x10
mov ecx, dword [esp + 0x2c]
jae 0x1220aa3
lea ecx, [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push edx
mov edx, ebp
lea ebx, [esp + 0x6c]
call fcn.0121ec30
add esp, 8
mov byte [esp + 0x16], al
test al, al
jne 0x1220b16
mov edi, dword [esp + 0x24]
test edi, edi
je 0x1220b88
cmp byte [edi], al
je 0x1220b88
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1220ae0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x34]
call fcn.010f8800
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov edx, ebp
lea ebx, [esp + 0x6c]
mov ecx, edi
call fcn.0121ec30
add esp, 8
mov byte [esp + 0x16], al
test al, al
je 0x1220b88
test ebp, ebp
je 0x1220b72
cmp byte [esp + 0x17], 0
je 0x1220b72
lea edx, [esp + 0x48]
push ebp
push edx
mov ebx, 0x12bf2a0
call fcn.011c53d0
add esp, 8
push eax
mov ecx, ebp
mov byte [esp + 0x90], 4
call fcn.010f7740
mov byte [esp + 0x8c], 3
cmp dword [esp + 0x5c], 0x10
jb 0x1220b60
mov eax, dword [esp + 0x48]
push eax
call fcn.01238a36
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], eax
mov byte [esp + 0x48], al
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1220b88
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x34]
push edx
call fcn.010f9870
xor ebx, ebx
mov byte [esp + 0x8c], bl
cmp dword [esp + 0x78], 8
jb 0x1220ba5
mov eax, dword [esp + 0x64]
push eax
call fcn.01238a36
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], 0xffffffff
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
jb 0x1220bd3
mov edx, dword [esp + 0x2c]
push edx
call fcn.01238a36
add esp, 4
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.01238a41
add esp, 0x7c
ret