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

Disassembly:
sub esp, 0x60
mov eax, dword [0x44f318]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
cmp eax, ecx
push esi
mov esi, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
je 0x411331
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push edi
mov dword [esp + 0x78], eax
lea ebx, [ebx]
mov ax, word [ebx]
movzx edx, ax
lea ecx, [edx - 0x22]
xor ebp, ebp
xor edi, edi
cmp ecx, 0x1c
ja case.0x410fcd.35
movzx ecx, byte [ecx + 0x411370]
jmp dword [ecx*4 + 0x411360]
test esi, esi
je 0x411012
cmp dword [esp + 0x80], 3
jle 0x411012
mov word [esi], 0x26
add esi, 2
xor edx, edx
cmp word [ebx], 0x3c
setne dl
add esi, 2
add esi, 2
dec edx
and edx, 5
add edx, 0x67
mov word [esi - 4], dx
mov word [esi - 2], 0x74
mov word [esi], 0x3b
add esi, 2
mov edi, 4
jmp 0x41126d
test esi, esi
je 0x41104b
cmp dword [esp + 0x80], 4
jle 0x41104b
mov ecx, dword [str.amp_]
mov eax, esi
mov dword [eax], ecx
mov edx, dword [0x4417f4]
mov dword [eax + 4], edx
mov cx, word [0x4417f8]
mov word [eax + 8], cx
add esi, 0xa
mov edi, 5
jmp 0x41126d
test byte [esp + 0x84], 1
je case.0x410fcd.35
test esi, esi
je 0x411092
cmp dword [esp + 0x80], 5
jle 0x411092
cmp ax, 0x27
mov eax, str.apos_
je 0x41107d
mov eax, str.quot_
mov ecx, dword [eax]
mov edx, esi
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
add esi, 0xc
mov edi, 6
jmp 0x41126d
cmp ax, 0xd800
jb 0x411109
cmp ax, 0xdbff
ja 0x411109
mov eax, dword [esp + 0x14]
test ax, ax
je 0x4110fc
test esi, esi
je 0x4110f7
cmp dword [esp + 0x80], 7
jle 0x4110f7
movzx ecx, ax
push ecx
push str.x_04X_
lea edx, [esp + 0x34]
push 9
push edx
call fcn.00422c93
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
add esp, 0x10
mov dword [eax + 0xc], edx
add esi, 0x10
mov edi, 8
mov ax, word [ebx]
mov word [esp + 0x14], ax
jmp 0x41126d
mov ecx, dword [esp + 0x14]
test cx, cx
je 0x4111f7
cmp ax, 0xdc00
jb 0x411186
cmp ax, 0xdfff
ja 0x411186
test esi, esi
je 0x41117a
cmp dword [esp + 0x80], 9
jle 0x41117a
movzx ecx, cx
sub ecx, 0xd7f7
shl ecx, 0xa
add ecx, edx
push ecx
push 0x4417a8
lea edx, [esp + 0x5c]
push 0xb
push edx
call fcn.00422c93
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
add esp, 0x10
mov dword [eax + 0x10], ecx
add esi, 0x14
mov edi, 0xa
mov ebp, 1
jmp 0x4111eb
test esi, esi
je 0x4111cc
cmp dword [esp + 0x80], 7
jle 0x4111cc
movzx edx, cx
push edx
push str.x_04X_
lea eax, [esp + 0x48]
push 9
push eax
call fcn.00422c93
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 8], edx
add esp, 0x10
mov dword [ecx + 0xc], eax
add esi, 0x10
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x10]
mov eax, 8
sub edx, eax
add ecx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x10], ecx
test ebp, ebp
mov dword [esp + 0x14], 0
jne 0x41126d
mov ax, word [ebx]
cmp ax, 0x20
jb 0x411222
cmp ax, 0x7e
ja 0x411222
test esi, esi
je 0x41121b
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x41121b
mov word [esi], ax
add esi, 2
mov edi, 1
jmp 0x41126d
test esi, esi
je 0x411268
cmp dword [esp + 0x80], 7
jle 0x411268
movzx ecx, ax
push ecx
push str.x_04X_
lea edx, [esp + 0x20]
push 9
push edx
call fcn.00422c93
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
add esp, 0x10
mov dword [eax + 0xc], edx
add esi, 0x10
mov edi, 8
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
sub ebp, edi
add edx, edi
add ebx, 2
dec eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x78], eax
jne 0x410fb0
mov eax, dword [esp + 0x14]
test ax, ax
pop edi
pop ebp
pop ebx
je 0x411331
cmp ax, 0x20
jb 0x4112d8
cmp ax, 0x7e
ja 0x4112d8
test esi, esi
je 0x4112c4
mov ecx, dword [esp + 0x74]
test ecx, ecx
jle 0x4112c4
mov word [esi], ax
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 4]
dec ecx
inc eax
mov dword [esp + 0x74], ecx
mov dword [esp + 4], eax
jmp 0x411331
test esi, esi
je 0x411318
cmp dword [esp + 0x74], 7
jle 0x411318
movzx eax, ax
push eax
push str.x_04X_
lea ecx, [esp + 0x14]
push 9
push ecx
call fcn.00422c93
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, esi
mov dword [edx], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 8], eax
add esp, 0x10
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 4]
mov eax, 8
sub edx, eax
add ecx, eax
mov dword [esp + 0x74], edx
mov dword [esp + 4], ecx
test esi, esi
pop esi
je 0x41134d
mov eax, dword [esp + 0x70]
test eax, eax
jge 0x41134d
xor eax, eax
mov ecx, dword [esp + 0x5c]
call fcn.0042005d
add esp, 0x60
ret
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp]
call fcn.0042005d
add esp, 0x60
ret