Function at 0x10042630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097c44
mov eax, dword fs:[0]
push eax
mov eax, 0x1204
call fcn.1007b8c0
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x11b0], edi
cmp dword [edi + 0x18], 0
mov eax, dword [ebp + 8]
ja 0x10042684
mov dword [edi + 0xf8], 3
xor al, al
jmp 0x1004370d
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x1068], cx
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x1054], 0
push eax
lea ecx, [ebp - 0x1068]
mov dword [ebp - 0x1054], 7
mov dword [ebp - 0x1058], 0
call fcn.10014ef0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1054], 8
lea eax, [ebp - 0x1068]
cmovae eax, dword [ebp - 0x1068]
push 0x100a372c
push eax
call fcn.1006f948
add esp, 8
test eax, eax
jne 0x100426fa
push 3
push 0x100a372c
jmp 0x1004272b
cmp dword [ebp - 0x1054], 8
lea eax, [ebp - 0x1068]
cmovae eax, dword [ebp - 0x1068]
push str.POST
push eax
call fcn.1006f948
add esp, 8
test eax, eax
jne 0x100436c4
push 4
push str.POST
lea ecx, [ebp - 0x1068]
call fcn.100157b0
cmp dword [edi], 0
mov ebx, 1
mov dword [ebp - 0x115c], ebx
jne 0x10042778
cmp dword [edi + 0x128], 8
lea ecx, [edi + 0x114]
jb 0x10042757
mov ecx, dword [ecx]
sub esp, 0xc
call fcn.10041220
add esp, 0xc
mov dword [edi], eax
test eax, eax
jne 0x10042778
call fcn.100246f0
mov dword [edi + 0xf8], eax
jmp 0x100436ce
push dword [edi + 0x184]
mov edx, dword [edi + 0x178]
push dword [edi + 0x180]
mov ecx, dword [edi]
push dword [edi + 0x17c]
call fcn.10041380
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.10073e30
add esp, 0xc
xor eax, eax
push 0xa26
push eax
mov word [ebp - 0x1050], ax
lea eax, [ebp - 0x104e]
push eax
call fcn.10073e30
add esp, 0xc
lea eax, [ebp - 0x1210]
push 0x3c
push 0
push eax
call fcn.10073e30
lea eax, [ebp - 0x420]
lea ecx, [edi + 8]
mov dword [ebp - 0x1200], eax
add esp, 0xc
cmp dword [ecx + 0x14], 8
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1210], 0x3c
mov dword [ebp - 0x11fc], 0x104
mov dword [ebp - 0x11e4], eax
mov dword [ebp - 0x11e0], 0x514
mov dword [ebp - 0x1208], ebx
jb 0x10042830
mov ecx, dword [ecx]
mov edx, dword [edi + 0x18]
lea eax, [ebp - 0x1210]
push eax
push ecx
call fcn.10041440
add esp, 8
test eax, eax
je 0x100436d0
cmp word [ebp - 0x420], 0
jne 0x10042859
xor ecx, ecx
jmp 0x10042871
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042862
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [edi + 0x20]
call fcn.100157b0
push ecx
push dword [ebp - 0x11f8]
mov ecx, dword [edi]
lea edx, [ebp - 0x420]
call fcn.10041500
add esp, 8
mov dword [ebp - 0x11a8], eax
test eax, eax
je 0x100436d0
xor ecx, ecx
cmp dword [ebp - 0x1204], 2
mov edx, 0x800000
cmove ecx, edx
cmp dword [ebp - 0x1054], 8
push ecx
lea edx, [ebp - 0x1068]
cmovae edx, dword [ebp - 0x1068]
sub esp, 0xc
mov ecx, eax
push dword [ebp - 0x11e4]
call fcn.100415c0
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x1154], esi
test esi, esi
je 0x100436b7
cmp byte [edi + 4], 0
jne 0x10042920
cmp dword [ebp - 0x1204], 2
jne 0x10042920
lea eax, [ebp - 0x114c]
push 4
push eax
mov edx, 0x1f
mov ecx, esi
mov dword [ebp - 0x114c], 0x3100
call fcn.10041690
add esp, 8
mov byte [ebp - 0x1141], 0
xor ecx, ecx
lea esp, [esp]
mov eax, ecx
inc ecx
mov dword [ebp - 0x1198], ecx
cmp eax, 3
jae 0x10043690
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x10042978
cmp dword [edi + 0xdc], 8
lea edx, [edi + 0xc8]
jb 0x1004295d
mov edx, dword [edx]
push ecx
push eax
mov ecx, esi
call fcn.10041750
add esp, 8
test eax, eax
jne 0x10042978
call fcn.100246f0
mov dword [edi + 0xf8], eax
cmp dword [edi + 0xb8], 0
jbe 0x100429ee
push str.Cookie:
lea ecx, [ebp - 0x1098]
call fcn.10013600
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push 0
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x1098]
call fcn.10014cb0
cmp dword [ebp - 0x1084], 8
push ecx
push dword [ebp - 0x1088]
lea edx, [ebp - 0x1098]
cmovae edx, dword [ebp - 0x1098]
mov ecx, esi
call fcn.10041750
add esp, 8
test eax, eax
jne 0x100429df
call fcn.100246f0
mov dword [edi + 0xf8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1098]
call fcn.100136d0
cmp dword [edi + 0xf0], 0
jbe 0x10042b08
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x216]
movq qword [ebp - 0x11bc], xmm0
push eax
mov dword [ebp - 0x11b4], 0
mov dword [ebp - 0x11bc], 3
call fcn.10073e30
lea eax, [edi + 0xe0]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10042a46
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1007004b
add esp, 0xc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x11b8], eax
lea eax, [ebp - 0x11bc]
push 0xc
push eax
mov edx, 0x26
mov ecx, esi
call fcn.10041690
add esp, 8
test eax, eax
jne 0x10042a8e
call fcn.100246f0
mov dword [edi + 0xf8], eax
mov eax, dword [edi + 0x140]
test eax, eax
je 0x10042b08
cmp dword [edi + 0x144], 8
lea ecx, [edi + 0x130]
jb 0x10042aa9
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
mov edx, 0x1002
mov ecx, esi
call fcn.10041690
add esp, 8
test eax, eax
jne 0x10042acb
call fcn.100246f0
mov dword [edi + 0xf8], eax
mov eax, dword [edi + 0x158]
test eax, eax
je 0x10042b08
cmp dword [edi + 0x15c], 8
lea ecx, [edi + 0x148]
jb 0x10042ae6
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
mov edx, 0x1003
mov ecx, esi
call fcn.10041690
add esp, 8
test eax, eax
jne 0x10042b08
call fcn.100246f0
mov dword [edi + 0xf8], eax
sub esp, 0x14
mov ecx, esi
xor bl, bl
call fcn.10041810
add esp, 0x14
test eax, eax
jne 0x10042d64
xorps xmm0, xmm0
lea ecx, [ebp - 0x1184]
movq qword [ebp - 0x1184], xmm0
movq qword [ebp - 0x117c], xmm0
call fcn.100418d0
test eax, eax
je 0x1004365f
mov eax, dword [ebp - 0x1180]
test eax, eax
je 0x10042c45
cmp dword [edi + 0x1c], 8
xorps xmm0, xmm0
movq qword [ebp - 0x11d4], xmm0
movq qword [ebp - 0x11cc], xmm0
movq qword [ebp - 0x11c4], xmm0
mov dword [ebp - 0x11d4], 3
mov dword [ebp - 0x11d0], 1
mov dword [ebp - 0x11cc], eax
mov dword [ebp - 0x11c0], 1
mov dword [ebp - 0x11c4], 0
mov dword [ebp - 0x11c8], 0
movq qword [ebp - 0x11a4], xmm0
mov dword [ebp - 0x119c], 0
jb 0x10042bc3
mov edx, dword [edi + 8]
jmp 0x10042bc6
lea edx, [edi + 8]
mov ecx, dword [edi]
lea eax, [ebp - 0x11a4]
push eax
lea eax, [ebp - 0x11d4]
push eax
call fcn.10041980
add esp, 8
test eax, eax
je 0x10042d1a
lea eax, [ebp - 0x11a4]
push 0xc
push eax
mov edx, 0x26
mov ecx, esi
call fcn.10041690
add esp, 8
test eax, eax
je 0x10042c1c
sub esp, 0x14
mov ecx, esi
call fcn.10041810
add esp, 0x14
movzx ebx, bl
test eax, eax
mov eax, 1
cmovne ebx, eax
mov eax, dword [ebp - 0x11a0]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x10042c2f
push eax
call esi
mov eax, dword [ebp - 0x119c]
test eax, eax
je 0x10042d25
push eax
call esi
jmp 0x10042d25
mov esi, dword [ebp - 0x117c]
test esi, esi
je 0x10042d45
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x216]
movq qword [ebp - 0x1190], xmm0
push eax
mov dword [ebp - 0x1188], 0
mov dword [ebp - 0x1190], 3
call fcn.10073e30
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x104
push eax
call fcn.1007004b
mov esi, dword [ebp - 0x1178]
add esp, 0xc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x118c], eax
test esi, esi
je 0x10042cfa
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.10073e30
add esp, 0xc
lea eax, [ebp - 0x628]
push esi
push 0x104
push eax
call fcn.1007004b
lea eax, [ebp - 0x628]
add esp, 0xc
mov dword [ebp - 0x1188], eax
mov ecx, dword [ebp - 0x1154]
lea eax, [ebp - 0x1190]
push 0xc
push eax
mov edx, 0x26
call fcn.10041690
add esp, 8
test eax, eax
jne 0x10042d25
call fcn.100246f0
mov dword [edi + 0xf8], eax
mov eax, dword [ebp - 0x1180]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x10042d38
push eax
call esi
mov eax, dword [ebp - 0x117c]
test eax, eax
je 0x10042d45
push eax
call esi
mov eax, dword [ebp - 0x1178]
test eax, eax
je 0x10042d56
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [ebp - 0x1154]
test bl, bl
je 0x1004366a
mov edx, dword [edi + 0xc0]
test edx, edx
je 0x10042d9e
lea eax, [ebp - 0x114c]
push eax
push dword [edi + 0xc4]
mov ecx, esi
mov dword [ebp - 0x114c], 0
call fcn.10041a40
add esp, 8
test eax, eax
jne 0x10042d9e
call fcn.100246f0
mov dword [edi + 0xf8], eax
mov ecx, esi
call fcn.10041b00
test eax, eax
je 0x1004365f
push ecx
lea eax, [ebp - 0x1148]
push eax
push 0
push ecx
mov edx, 0x16
mov ecx, esi
mov dword [ebp - 0x1148], 0
call fcn.10041bb0
add esp, 0x10
mov esi, eax
call fcn.100246f0
test esi, esi
jne 0x10042de5
cmp eax, 0x7a
jne 0x100431a4
mov eax, dword [ebp - 0x1148]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006f1b3
mov esi, eax
add esp, 4
mov dword [ebp - 0x11ac], esi
test esi, esi
je 0x100431a4
mov ecx, dword [ebp - 0x1148]
add ecx, ecx
push ecx
push 0
push esi
call fcn.10073e30
add esp, 8
lea eax, [ebp - 0x1148]
push eax
push esi
push ecx
mov ecx, dword [ebp - 0x1154]
mov edx, 0x16
call fcn.10041bb0
add esp, 0x10
test eax, eax
je 0x1004319b
lea ebx, [edi + 0x38]
push esi
mov ecx, ebx
call fcn.10013720
mov dword [ebp - 0x1168], 0
mov dword [ebp - 0x1164], 0
mov dword [ebp - 0x1160], 0
mov byte [ebp - 4], 2
push 0x100a36b4
lea ecx, [ebp - 0x1080]
call fcn.10013600
mov byte [ebp - 4], 3
cmp byte [edi + 0x12c], 0
jne 0x10042f1a
lea ecx, [ebp - 0x10e0]
call fcn.1003ea30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1080]
cmp ecx, eax
je 0x10042ebd
push 0xffffffffffffffff
push 0
push eax
call fcn.10014ef0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10e0]
call fcn.100136d0
push ecx
lea eax, [ebp - 0x1168]
push eax
push ebx
push ecx
lea ecx, [ebp - 0x1080]
call fcn.10040cf0
add esp, 0x10
test al, al
je 0x10042f1a
mov ecx, dword [ebp - 0x1164]
mov esi, dword [ebp - 0x1168]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10042f1a
lea ecx, [edi + 0x68]
cmp ecx, esi
je 0x10042f1a
push 0xffffffffffffffff
push 0
push esi
call fcn.10014ef0
lea ecx, [ebp - 0x1140]
call fcn.1003ec40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1080]
cmp ecx, eax
je 0x10042f3d
push 0xffffffffffffffff
push 0
push eax
call fcn.10014ef0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1140]
call fcn.100136d0
push ecx
lea eax, [ebp - 0x1168]
push eax
push ebx
push ecx
lea ecx, [ebp - 0x1080]
call fcn.10040cf0
add esp, 0x10
test al, al
je 0x10042fa0
mov ecx, dword [ebp - 0x1164]
mov esi, dword [ebp - 0x1168]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10042fa0
cmp dword [esi + 0x14], 8
jb 0x10042f91
mov esi, dword [esi]
push esi
call fcn.10071548
add esp, 4
mov dword [edi + 0x8c], eax
lea ecx, [ebp - 0x1128]
call fcn.1003ee50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1080]
cmp ecx, eax
je 0x10042fc3
push 0xffffffffffffffff
push 0
push eax
call fcn.10014ef0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1128]
call fcn.100136d0
push ecx
lea eax, [ebp - 0x1168]
push eax
push ebx
push ecx
lea ecx, [ebp - 0x1080]
call fcn.10040cf0
add esp, 0x10
test al, al
je 0x10043023
mov ecx, dword [ebp - 0x1164]
mov esi, dword [ebp - 0x1168]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10043023
lea ecx, [edi + 0x160]
cmp ecx, esi
je 0x10043023
push 0xffffffffffffffff
push 0
push esi
call fcn.10014ef0
lea ecx, [ebp - 0x1110]
call fcn.1003f020
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1080]
cmp ecx, eax
je 0x10043046
push 0xffffffffffffffff
push 0
push eax
call fcn.10014ef0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1110]
call fcn.100136d0
push ecx
lea eax, [ebp - 0x1168]
push eax
push ebx
push ecx
lea ecx, [ebp - 0x1080]
call fcn.10040cf0
add esp, 0x10
test al, al
je 0x10043177
mov ecx, dword [ebp - 0x1164]
mov ebx, dword [ebp - 0x1168]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1158], eax
je 0x10043177
xor esi, esi
test eax, eax
je 0x100430f2
dec eax
mov dword [ebp - 0x1150], eax
lea eax, [edi + 0x90]
mov dword [ebp - 0x114c], eax
mov edi, eax
jmp 0x100430c0
push 0xffffffffffffffff
push 0
push ebx
mov ecx, edi
call fcn.10014cb0
cmp esi, dword [ebp - 0x1150]
je 0x100430e0
push 0x100a78a0
mov ecx, edi
call fcn.10013770
inc esi
add ebx, 0x18
cmp esi, dword [ebp - 0x1158]
jb 0x100430c0
mov edi, dword [ebp - 0x11b0]
push 0x100a7548
lea ecx, [ebp - 0x10c8]
call fcn.10013600
mov byte [ebp - 4], 8
lea eax, [ebp - 0x10c8]
lea esi, [edi + 0x90]
push eax
mov edx, esi
lea ecx, [ebp - 0x10f8]
call fcn.10041de0
add esp, 4
mov byte [ebp - 4], 9
push eax
mov ecx, esi
call fcn.10013690
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10f8]
call fcn.100136d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10c8]
call fcn.100136d0
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x10043177
cmp dword [esi + 0x14], 8
jb 0x10043161
mov eax, dword [esi]
jmp 0x10043163
mov eax, esi
cmp word [eax + ecx*2 - 2], 0x3b
je 0x10043177
push 0x100a78a8
mov ecx, esi
call fcn.10013770
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1080]
call fcn.100136d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1168]
call fcn.100266c0
mov esi, dword [ebp - 0x11ac]
push esi
call fcn.1006f1bc
add esp, 4
mov ebx, dword [ebp - 0x1154]
push ecx
lea eax, [ebp - 0x1148]
push eax
push 0
push ecx
mov edx, 0x13
mov ecx, ebx
mov dword [ebp - 0x1148], 0
call fcn.10041bb0
add esp, 0x10
mov esi, eax
call fcn.100246f0
test esi, esi
jne 0x100431de
cmp eax, 0x7a
jne 0x10043248
mov eax, dword [ebp - 0x1148]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006f1b3
mov esi, eax
add esp, 4
test esi, esi
je 0x10043248
mov ecx, dword [ebp - 0x1148]
add ecx, ecx
push ecx
push 0
push esi
call fcn.10073e30
add esp, 8
lea eax, [ebp - 0x1148]
push eax
push esi
push ecx
mov edx, 0x13
mov ecx, ebx
call fcn.10041bb0
add esp, 0x10
test eax, eax
je 0x1004323f
push esi
lea ecx, [edi + 0xfc]
call fcn.10013720
push esi
call fcn.1006f1bc
add esp, 4
mov eax, dword [edi + 0x80]
mov ecx, 0x2800
xor ebx, ebx
mov dword [ebp - 0x1150], ecx
test eax, eax
je 0x1004326e
push eax
call fcn.1006f1bc
add esp, 4
mov dword [edi + 0x80], ebx
push 0x2800
call fcn.1006f1b3
add esp, 4
mov dword [edi + 0x80], eax
test eax, eax
je 0x1004367e
push 0x2800
push 0
push eax
call fcn.10073e30
add esp, 0xc
lea esp, [esp]
mov ecx, dword [ebp - 0x1154]
lea edx, [ebp - 0x1148]
mov dword [ebp - 0x1148], 0
call fcn.10041c70
test eax, eax
je 0x10043409
push ebx
mov ecx, edi
call fcn.100437b0
mov eax, dword [ebp - 0x1148]
inc eax
push eax
call fcn.1006f1b3
mov esi, eax
add esp, 4
test esi, esi
je 0x10043414
mov ecx, dword [ebp - 0x1148]
inc ecx
push ecx
push 0
push esi
call fcn.10073e30
mov ecx, dword [ebp - 0x1154]
add esp, 0xc
lea eax, [ebp - 0x1158]
push eax
push dword [ebp - 0x1148]
mov edx, esi
mov dword [ebp - 0x1158], 0
call fcn.10041d20
add esp, 8
test eax, eax
je 0x100433fe
mov ecx, dword [ebp - 0x1158]
mov edx, dword [ebp - 0x1150]
lea eax, [ecx + ebx]
cmp eax, edx
jbe 0x100433a0
mov eax, dword [edi + 0x80]
add edx, edx
push edx
mov dword [ebp - 0x114c], eax
mov dword [ebp - 0x1150], edx
call fcn.1006f1b3
add esp, 4
mov dword [edi + 0x80], eax
test eax, eax
je 0x10043423
mov ecx, dword [ebp - 0x1150]
push ecx
push 0
push eax
call fcn.10073e30
add esp, 0xc
push ebx
push dword [ebp - 0x114c]
push dword [edi + 0x80]
call fcn.10073510
add esp, 0xc
push dword [ebp - 0x114c]
call fcn.1006f1bc
mov ecx, dword [ebp - 0x1158]
add esp, 4
mov eax, dword [edi + 0x80]
push ecx
add eax, ebx
push esi
push eax
call fcn.10073510
add ebx, dword [ebp - 0x1158]
add esp, 0xc
cmp byte [edi + 0x188], 0
je 0x100433fe
push 2
push 0
push 0
push dword [edi + 0x18c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x1194]
push eax
push dword [ebp - 0x1158]
mov dword [ebp - 0x1194], 0
push esi
push dword [edi + 0x18c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1004342f
push esi
call fcn.1006f1bc
add esp, 4
jmp 0x10043414
call fcn.100246f0
mov dword [edi + 0xf8], eax
cmp dword [ebp - 0x1148], 0
ja 0x100432a0
jmp 0x10043437
mov eax, dword [ebp - 0x114c]
mov dword [edi + 0x80], eax
xor al, al
mov dword [ebp - 0x115c], eax
push ebx
mov ecx, edi
call fcn.100437b0
mov dword [edi + 0x84], ebx
lea eax, [edi + 0x68]
xor ebx, ebx
cmp dword [eax + 0x14], 8
mov esi, 1
mov dword [ebp - 0x1150], ebx
mov dword [ebp - 0x114c], esi
jb 0x10043463
mov eax, dword [eax]
push 5
push 0x100a78ac
push eax
call fcn.1006fb46
add esp, 0xc
test eax, eax
jne 0x1004348a
mov ebx, 0xfde9
xor esi, esi
mov dword [ebp - 0x1150], ebx
mov dword [ebp - 0x114c], esi
mov eax, dword [edi + 0x84]
push 0
push 0
inc eax
push eax
push dword [edi + 0x80]
push esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call ebx
mov esi, eax
test esi, esi
jg 0x100434de
mov eax, dword [edi + 0x84]
push 0
push 0
inc eax
push eax
push dword [edi + 0x80]
mov dword [ebp - 0x1150], 0
push 1
push 0
mov dword [ebp - 0x114c], 1
call ebx
mov esi, eax
test esi, esi
jle 0x10043546
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006f1b3
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10043546
lea ecx, [esi + esi]
push ecx
push 0
push ebx
call fcn.10073e30
mov eax, dword [edi + 0x84]
add esp, 0xc
inc eax
push esi
push ebx
push eax
push dword [edi + 0x80]
push dword [ebp - 0x114c]
push dword [ebp - 0x1150]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x1004353d
push ebx
lea ecx, [edi + 0x50]
call fcn.10013720
push ebx
call fcn.1006f1bc
add esp, 4
mov edx, 0x100a372c
lea ecx, [ebp - 0x1068]
mov byte [ebp - 0x1141], 1
call fcn.10045750
test al, al
je 0x100436a6
push str._html_
lea ecx, [ebp - 0x10b0]
call fcn.10013600
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x1174], 0
mov dword [ebp - 0x1170], 0
mov dword [ebp - 0x116c], 0
mov byte [ebp - 4], 0xb
push ecx
lea eax, [ebp - 0x1174]
push eax
lea esi, [edi + 0x50]
push esi
push ecx
lea ecx, [ebp - 0x10b0]
call fcn.10040cf0
add esp, 0x10
test al, al
je 0x10043639
mov ecx, dword [ebp - 0x1170]
sub ecx, dword [ebp - 0x1174]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10043639
push str.__html_
lea ecx, [ebp - 0x10b0]
call fcn.10013720
push ecx
lea eax, [ebp - 0x1174]
push eax
push esi
push ecx
lea ecx, [ebp - 0x10b0]
call fcn.10040cf0
add esp, 0x10
test al, al
je 0x10043628
mov ecx, dword [ebp - 0x1170]
sub ecx, dword [ebp - 0x1174]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10043639
mov dword [edi + 0xf8], 0xd
mov byte [ebp - 0x1141], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1174]
call fcn.100266c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10b0]
call fcn.100136d0
mov esi, dword [ebp - 0x1154]
jmp 0x1004366a
call fcn.100246f0
mov dword [edi + 0xf8], eax
cmp byte [ebp - 0x1141], 0
jne 0x100436a6
mov ecx, dword [ebp - 0x1198]
jmp 0x10042930
xor bl, bl
xor eax, eax
cmp byte [ebp - 0x1141], al
movzx ebx, bl
cmove ebx, eax
jmp 0x100436ac
mov ebx, dword [ebp - 0x115c]
xor eax, eax
cmp byte [ebp - 0x1141], al
movzx ebx, bl
cmove ebx, eax
jmp 0x100436ac
mov ebx, dword [ebp - 0x115c]
mov ecx, dword [ebp - 0x1154]
call fcn.100412d0
mov ecx, dword [ebp - 0x11a8]
call fcn.100412d0
jmp 0x100436d0
mov dword [edi + 0xf8], 0x57
xor bl, bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1054], 8
jb 0x100436ee
push dword [ebp - 0x1068]
call fcn.1006e29c
add esp, 4
xor eax, eax
mov word [ebp - 0x1068], ax
mov dword [ebp - 0x1054], 7
mov dword [ebp - 0x1058], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret 8