Function at 0x502356
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1d90
call fcn.00544890
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x1d68], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0x1230
mov dword [ebp - 0x1d64], eax
lea eax, [ebp - 0x1d58]
push ebx
push eax
mov dword [ebp - 0x1d5c], ebx
call fcn.005306b0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x113]
push ebx
push eax
mov dword [ebp - 0x1d74], ebx
mov byte [ebp - 0x114], bl
call fcn.005306b0
add esp, 0xc
push 0x7ff
lea eax, [ebp - 0xb23]
push ebx
push eax
mov byte [ebp - 0xb24], bl
call fcn.005306b0
xor eax, eax
mov word [ebp - 0x1d90], bx
lea edi, [ebp - 0x1d8e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov esi, 0x103
push esi
stosw word es:[edi], ax
lea eax, [ebp - 0x21b]
push ebx
push eax
mov byte [ebp - 0x21c], bl
call fcn.005306b0
add esp, 0xc
push esi
lea eax, [ebp - 0x323]
push ebx
push eax
mov byte [ebp - 0x324], bl
call fcn.005306b0
mov edx, dword [ebp - 0x1d68]
add esp, 0xc
call fcn.004ccc0d
test eax, eax
je 0x502438
xor eax, eax
jmp 0x5029d6
mov eax, dword [ebp - 0x1d64]
call fcn.0046940b
test eax, eax
je 0x502431
push dword [ebp - 0x1d68]
mov edi, 0x104
mov ecx, edi
lea eax, [ebp - 0x324]
call fcn.004ccc3f
pop ecx
mov esi, eax
call fcn.004ccf41
mov eax, esi
push eax
lea eax, [ebp - 0x21c]
push 0x54f4f0
push eax
call fcn.00493154
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x1d68]
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
jne 0x5024b0
call fcn.00531157
push eax
mov eax, edi
push 0x550d2c
lea edi, [ebp - 0x21c]
call fcn.004ce4a3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1d68]
lea eax, [ebp - 0x21c]
push eax
call fcn.00522550
mov dword [esp], 0x42c
push str..TrackProg.c
mov edx, 0x54f4b8
lea ecx, [ebp - 0x21c]
call fcn.00434df1
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0x1d60], esi
jne 0x5024fc
lea eax, [ebp - 0x21c]
call fcn.004314ff
jmp 0x502431
lea ebx, [ebp - 0x1d5c]
mov eax, esi
call fcn.00501f14
test eax, eax
je 0x5029e5
mov eax, ebx
push eax
call fcn.004df030
pop ecx
push esi
push 1
lea eax, [ebp - 0x1d74]
push 4
push eax
call fcn.00530e93
add esp, 0x10
cmp eax, 1
jb 0x5029e5
mov esi, dword [ebp - 0x1d64]
push 0x35c
push str._n_head__META_http_equiv_Content_Type__content_text_html__charsetCP_d__
mov ecx, esi
call fcn.00469631
push dword [ebp + 0x10]
mov ebx, esi
call fcn.004bb0c2
add esp, 0xc
push str._n__head_
mov ecx, esi
call fcn.00469631
mov ecx, esi
mov dword [esp], str._n_body_style_background_image:_url_DetailBk.gif___background_attachment:_fixed__background_repeat:_repeat__class_sdf0_sdf15__
call fcn.00469631
mov ecx, esi
mov dword [esp], str._n_tt_
call fcn.00469631
mov ecx, esi
mov dword [esp], str._n_pre__n
call fcn.00469631
xor eax, eax
cmp dword [ebp - 0x1d74], eax
pop ecx
mov dword [ebp - 0x1d7c], eax
mov dword [ebp - 0x1d70], eax
jbe 0x502994
xor edi, edi
cmp dword [ebp - 0x1d7c], edi
mov dword [ebp - 0x1d80], edi
mov dword [ebp - 0x1d78], edi
mov dword [ebp - 0x1d6c], edi
lea eax, [ebp - 0x1d90]
jne 0x5026ef
push dword [ebp - 0x1d60]
push 1
push 0x10
pop ebx
push ebx
push eax
call fcn.00530e93
add esp, 0x10
push edi
sub esp, 0x10
lea esi, [ebp - 0x1d90]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f9794
add esp, 0x14
test eax, eax
jne 0x50263c
push ebx
lea eax, [ebp - 0x1d90]
push eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x1d7c], 1
call fcn.00531bb0
add esp, 0xc
push ebx
lea eax, [ebp - 0x1d90]
push 0
push eax
call fcn.005306b0
add esp, 0xc
mov dword [ebp - 0x1d6c], ebx
mov esi, dword [ebp - 0x1d64]
mov eax, dword [ebp - 0x1d6c]
mov dword [ebp - 0x1d68], eax
push dword [ebp - 0x1d60]
call fcn.0053256f
cmp eax, 0xffffffff
pop ecx
je 0x5029e5
cmp eax, 1
jne 0x5026d4
mov ecx, dword [ebp - 0x1d6c]
cmp dword [ebp - 0x1d68], ecx
jne 0x5026d4
push dword [ebp - 0x1d60]
call fcn.0053256f
pop ecx
push dword [ebp - 0x1d60]
mov edi, eax
call fcn.0053256f
pop ecx
mov ebx, eax
push dword [ebp - 0x1d60]
call fcn.0053256f
test eax, eax
pop ecx
je 0x5026a7
cmp eax, 0xffffffff
jne 0x502692
push dword [ebp - 0x1d60]
call fcn.004bb5b7
pop ecx
movzx ecx, bx
shl edi, 0x10
or edi, ecx
push edi
mov dword [ebp - 0x1d78], eax
call fcn.004bdc54
pop ecx
push dword [ebp - 0x1d60]
call fcn.0053256f
pop ecx
cmp dword [ebp - 0x1d68], 0x101
jae 0x502706
mov ecx, dword [ebp - 0x1d68]
mov byte [ebp + ecx - 0x114], al
jmp 0x50270a
push 0x10
push edi
push eax
call fcn.005306b0
add esp, 0xc
mov dword [ebp - 0x1d6c], edi
jmp 0x502642
mov byte [ebp - 0x14], 0
test eax, eax
je 0x502719
inc dword [ebp - 0x1d68]
jmp 0x50264e
push dword [ebp - 0x1d60]
call fcn.004bb5b7
mov ebx, eax
pop ecx
lea edi, [ebp - 0x114]
mov dword [ebp - 0x1d6c], ebx
call fcn.00502087
test eax, eax
je 0x502753
push str._ADMINONLYBLOCK_
mov ecx, esi
call fcn.00469631
pop ecx
mov dword [ebp - 0x1d80], 1
lea edx, [ebp - 0x114]
call fcn.004ccc0d
test eax, eax
jne 0x502848
push 0x5d63d0
mov ecx, esi
call fcn.00469631
pop ecx
lea eax, [ebp - 0x114]
push eax
call fcn.00530f70
cmp eax, 0x39
pop ecx
mov edi, str.font_size:9pt_
ja 0x50278f
mov edi, 0x54f4ea
xor ebx, ebx
push ebx
call fcn.00413b75
pop ecx
push eax
push 0xe
call fcn.00413b75
pop ecx
push eax
push edi
push str._span_style__sbackground_color:_s__color:_s__
mov ecx, esi
call fcn.00469631
push str.__gt_gt_
mov ecx, esi
call fcn.00469631
add esp, 0x14
cmp byte [ebp - 0x114], bl
je 0x5027f0
lea edi, [ebp - 0x114]
movsx esi, byte [edi]
push ebx
push 1
call fcn.00413c7d
mov ecx, dword [ebp - 0x1d64]
push eax
push 0x54f4f0
call fcn.00469631
add esp, 0x10
inc edi
cmp byte [edi], bl
jne 0x5027cc
push 1
sub esp, 0x10
lea esi, [ebp - 0x1d90]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
movsd dword es:[edi], dword [esi]
call fcn.004fa685
mov ecx, dword [ebp - 0x1d64]
add esp, 0x14
push eax
push str._lt_lt____s
call fcn.00469631
mov ecx, dword [ebp - 0x1d64]
push str.__span_
call fcn.00469631
mov ecx, dword [ebp - 0x1d64]
add esp, 0xc
push str.__i__n
call fcn.00469631
mov esi, dword [ebp - 0x1d64]
pop ecx
jmp 0x50284a
xor ebx, ebx
push ebx
push 1
push esi
push dword [ebp - 0x1d78]
push dword [ebp - 0x1d6c]
call fcn.004bb17d
mov eax, dword [ebp - 0x1d6c]
add esp, 0x14
call fcn.004bae55
mov eax, dword [ebp - 0x1d78]
call fcn.004bae55
xor edi, edi
push dword [ebp - 0x1d60]
call fcn.0053256f
cmp eax, 0xffffffff
pop ecx
je 0x5029e5
cmp edi, 0x800
jae 0x5028a0
mov byte [ebp + edi - 0xb24], al
jmp 0x5028a6
mov byte [ebp - 0x325], bl
cmp eax, ebx
je 0x5028ad
inc edi
jmp 0x50287a
lea edx, [ebp - 0xb24]
call fcn.004cd7e8
call fcn.004ccc0d
test eax, eax
jne 0x50295a
push 0x5d643c
mov ecx, esi
call fcn.00469631
pop ecx
push ebx
call fcn.00413b75
pop ecx
push eax
push 0xa
call fcn.00413b75
pop ecx
push eax
push str._span_style_background_color:_s__color:_s__
mov ecx, esi
call fcn.00469631
add esp, 0xc
cmp byte [ebp - 0xb24], bl
je 0x50293f
lea edi, [ebp - 0xb24]
mov al, byte [edi]
cmp al, 0xa
jne 0x502915
push 0x54f250
mov ecx, esi
call fcn.00469631
pop ecx
jmp 0x50293a
push ebx
movsx esi, al
push 1
call fcn.00413c7d
mov ecx, dword [ebp - 0x1d64]
push eax
push 0x54f4f0
call fcn.00469631
mov esi, dword [ebp - 0x1d64]
add esp, 0x10
inc edi
cmp byte [edi], bl
jne 0x502900
push str.__span_
mov ecx, esi
call fcn.00469631
mov ecx, esi
mov dword [esp], str.__b__n
call fcn.00469631
pop ecx
push 0x54f250
mov ecx, esi
call fcn.00469631
cmp dword [ebp - 0x1d80], ebx
pop ecx
je 0x50297c
push str.__ADMINONLYBLOCK_
mov ecx, esi
call fcn.00469631
pop ecx
inc dword [ebp - 0x1d70]
mov eax, dword [ebp - 0x1d70]
cmp eax, dword [ebp - 0x1d74]
jb 0x5025ac
push str._n__pre_
mov ecx, esi
call fcn.00469631
mov ecx, esi
mov dword [esp], str._n__tt_
call fcn.00469631
mov ecx, esi
mov dword [esp], str._n__body_
call fcn.00469631
pop ecx
mov ecx, dword [ebp - 0x1d60]
call fcn.00435239
lea eax, [ebp - 0x21c]
call fcn.004314ff
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
mov ecx, dword [ebp - 0x1d60]
call fcn.00435239
jmp 0x502431