Function at 0x44b250
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2394
call fcn.004ce570
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x526908], 0x50
push esi
mov esi, dword [ebp + 8]
jne 0x44be82
mov eax, 0xffff
cmp word [0x6a307c], ax
je 0x44be82
push edi
push 0x100
lea ecx, [ebp - 0x504]
push 0
push ecx
call fcn.004cce10
lea edx, [ebp - 0x504]
add esp, 0xc
mov eax, esi
sub edx, esi
mov edi, 1
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, edi
test cl, cl
jne 0x44b2b0
lea edx, [ebp - 0x504]
push edx
call fcn.004cd5e3
add esp, 4
cmp dword [0x6a63ac], 0
je 0x44b449
movzx eax, word [0x5f375c]
mov ecx, dword [0x56895c]
imul eax, eax, 0x108c
push 3
lea edx, [eax + ecx + 0x94]
push 0x4e4650
push edx
call fcn.004ccfca
add esp, 0xc
test eax, eax
je 0x44b449
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b310
sub eax, edx
push eax
push esi
push 0x6a2290
call fcn.004ccfca
add esp, 0xc
test eax, eax
je 0x44b422
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b335
sub eax, edx
push eax
push esi
push 0x6a2390
call fcn.004ccfca
add esp, 0xc
test eax, eax
je 0x44b422
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b360
sub eax, edx
push eax
push esi
push 0x6a2490
call fcn.004ccfca
add esp, 0xc
test eax, eax
je 0x44b422
mov eax, 0x6a2290
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b388
sub eax, edx
cmp eax, 0x14
jbe 0x44b3a9
push eax
push esi
push 0x6a2290
call fcn.004ccfca
add esp, 0xc
test eax, eax
je 0x44b422
mov eax, 0x6a2390
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b3b1
sub eax, edx
cmp eax, 0x14
jbe 0x44b3e3
mov eax, 0x6a2290
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b3c7
sub eax, edx
push eax
push esi
push 0x6a2390
call fcn.004ccfca
add esp, 0xc
test eax, eax
je 0x44b422
mov eax, 0x6a2490
lea edx, [eax + 1]
jmp 0x44b3f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b3f0
sub eax, edx
cmp eax, 0x14
jbe 0x44b449
mov eax, 0x6a2290
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b406
sub eax, edx
push eax
push esi
push 0x6a2490
call fcn.004ccfca
add esp, 0xc
test eax, eax
jne 0x44b449
mov ecx, dword [0x5ecf04]
add ecx, dword [0x1a3ba10]
push 5
push ecx
call fcn.0040d780
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
push 8
push str._emotion
push esi
mov dword [0x6a63ac], edi
call fcn.004ccfca
add esp, 0xc
test eax, eax
jne 0x44b4d4
push 0x200
push eax
lea edx, [ebp - 0x404]
push edx
call fcn.004cce10
lea edx, [ebp - 0x404]
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, edi
test cl, cl
jne 0x44b482
lea eax, [ebp - 0x404]
push 0x4e5e00
push eax
call fcn.004cef6b
push 0x4e59c4
push 0
call fcn.004cef6b
add esp, 0x10
test eax, eax
je 0x44be81
push eax
call fcn.004ce55a
push eax
call fcn.004496b0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
push 9
push str._savechat
push esi
call fcn.004ccfca
add esp, 0xc
test eax, eax
jne 0x44b4fd
call fcn.0040dee0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
push ebx
push 0xb
push str._uploadicon
push esi
call fcn.004ccfca
add esp, 0xc
test eax, eax
jne 0x44b9de
cmp dword [0x5f3d54], eax
jle 0x44b546
mov ecx, dword [0x5ec6b0]
add ecx, dword [0x1a3ba10]
push 5
push ecx
call fcn.0040d780
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
push 0x200
lea eax, [ebp - 0x404]
push 0
push eax
mov dword [0x5f3d54], 0x2d0
call fcn.004cce10
lea edx, [ebp - 0x404]
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, edi
test cl, cl
jne 0x44b570
lea ecx, [ebp - 0x404]
push 0x4e5e00
push ecx
call fcn.004cef6b
push 0x4e59c4
push 0
call fcn.004cef6b
push eax
push 0x525258
lea edx, [ebp - 0x2384]
push str._sGuildIcon_s
push edx
call fcn.004cce8a
add esp, 0x20
push 0
lea eax, [ebp - 0x2384]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
cmp eax, 0xffffffff
je 0x44b60c
push 0x1000
lea ecx, [ebp - 0x1b84]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll__lread]
cmp eax, 0x1000
jae 0x44b60c
mov ecx, 0x4d42
cmp word [ebp - 0x1b84], cx
jne 0x44b60c
mov ebx, 0x18
cmp dword [ebp - 0x1b72], ebx
jne 0x44b63d
cmp dword [ebp - 0x1b6e], ebx
jne 0x44b677
cmp word [ebp - 0x1b6a], di
je 0x44b634
mov edx, dword [0x5ec6ac]
add edx, dword [0x1a3ba10]
push 5
push edx
call fcn.0040d780
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1b66], 0
je 0x44b665
mov ecx, dword [0x5ec6ac]
add ecx, dword [0x1a3ba10]
push 5
push ecx
call fcn.0040d780
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov si, word [ebp - 0x1b68]
cmp si, 8
je 0x44b69e
cmp si, bx
je 0x44b69e
mov eax, dword [0x5ec6ac]
add eax, dword [0x1a3ba10]
push 5
push eax
call fcn.0040d780
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x1b7a]
push 0x480
lea edx, [ebp - 0xb84]
push 0
lea edi, [ebp + edi - 0x1b84]
push edx
mov dword [ebp - 0x238c], edi
call fcn.004cce10
add esp, 0xc
cmp si, 8
jne 0x44b7fc
mov edx, dword [ebp - 0x1b56]
xor ecx, ecx
test edx, edx
jle 0x44b74d
lea edi, [ebp - 0x1b4d]
movzx ebx, byte [edi - 1]
movzx eax, byte [edi + 1]
movzx esi, byte [edi]
mov dword [ebp - 0x2388], ebx
mov ebx, 0xff
cmp ax, bx
jne 0x44b710
test si, si
jne 0x44b710
cmp word [ebp - 0x2388], bx
jne 0x44b710
xor eax, eax
jmp 0x44b737
and eax, 0xfff8
or eax, 0xff00
and esi, 0xf8
shl eax, 5
or eax, esi
mov esi, dword [ebp - 0x2388]
add eax, eax
shr esi, 3
add eax, eax
and esi, 0x1f
or eax, esi
mov word [ebp + ecx*2 - 0x204], ax
inc ecx
add edi, 4
cmp ecx, edx
jl 0x44b6e3
mov edi, dword [ebp - 0x238c]
lea ecx, [edi + 0x229]
mov ebx, 0x17
lea edi, [ebp - 0xb82]
mov edi, edi
xor eax, eax
movzx esi, byte [ecx + eax - 1]
cmp esi, edx
jae 0x44b777
mov si, word [ebp + esi*2 - 0x204]
mov word [edi - 2], si
movzx esi, byte [ecx + eax]
cmp esi, edx
jae 0x44b78a
mov si, word [ebp + esi*2 - 0x204]
mov word [edi], si
movzx esi, byte [ecx + eax + 1]
cmp esi, edx
jae 0x44b79f
mov si, word [ebp + esi*2 - 0x204]
mov word [edi + 2], si
movzx esi, byte [ecx + eax + 2]
cmp esi, edx
jae 0x44b7b4
mov si, word [ebp + esi*2 - 0x204]
mov word [edi + 4], si
movzx esi, byte [ecx + eax + 3]
cmp esi, edx
jae 0x44b7c9
mov si, word [ebp + esi*2 - 0x204]
mov word [edi + 6], si
movzx esi, byte [ecx + eax + 4]
cmp esi, edx
jae 0x44b7de
mov si, word [ebp + esi*2 - 0x204]
mov word [edi + 8], si
add eax, 6
add edi, 0xc
cmp eax, 0x18
jl 0x44b762
sub ecx, 0x18
dec ebx
jns 0x44b760
jmp 0x44b998
cmp si, bx
jne 0x44b998
add edi, 0x67a
mov dword [ebp - 0x238c], 0x17
mov dword [ebp - 0x2388], edi
lea ecx, [ebp - 0xb80]
jmp 0x44b830
mov eax, dword [ebp - 0x2388]
mov dword [ebp - 0x2394], 6
movzx edx, byte [eax]
movzx esi, byte [eax - 2]
movzx edi, byte [eax - 1]
mov ebx, 0xff
cmp dx, bx
jne 0x44b863
test di, di
jne 0x44b863
cmp si, bx
jne 0x44b863
xor edx, edx
jmp 0x44b886
and edx, 0xfff8
or edx, 0xff00
shl edx, 5
and edi, 0xf8
or edx, edi
add edx, edx
shr esi, 3
add edx, edx
and esi, 0x1f
or edx, esi
movzx esi, byte [eax + 1]
movzx edi, byte [eax + 2]
mov word [ecx - 4], dx
movzx edx, byte [eax + 3]
mov ebx, 0xff
cmp dx, bx
jne 0x44b8ae
test di, di
jne 0x44b8ae
cmp si, bx
jne 0x44b8ae
xor edx, edx
jmp 0x44b8d1
and edx, 0xfff8
or edx, 0xff00
shl edx, 5
and edi, 0xf8
or edx, edi
add edx, edx
shr esi, 3
add edx, edx
and esi, 0x1f
or edx, esi
movzx esi, byte [eax + 4]
movzx edi, byte [eax + 5]
mov word [ecx - 2], dx
movzx edx, byte [eax + 6]
mov ebx, 0xff
cmp dx, bx
jne 0x44b8f9
test di, di
jne 0x44b8f9
cmp si, bx
jne 0x44b8f9
xor edx, edx
jmp 0x44b91c
and edx, 0xfff8
or edx, 0xff00
shl edx, 5
and edi, 0xf8
or edx, edi
add edx, edx
shr esi, 3
add edx, edx
and esi, 0x1f
or edx, esi
movzx esi, byte [eax + 7]
movzx edi, byte [eax + 8]
mov word [ecx], dx
movzx edx, byte [eax + 9]
mov ebx, 0xff
cmp dx, bx
jne 0x44b943
test di, di
jne 0x44b943
cmp si, bx
jne 0x44b943
xor edx, edx
jmp 0x44b966
and edx, 0xfff8
or edx, 0xff00
shl edx, 5
and edi, 0xf8
or edx, edi
add edx, edx
shr esi, 3
add edx, edx
and esi, 0x1f
or edx, esi
mov word [ecx + 2], dx
add eax, 0xc
add ecx, 8
dec dword [ebp - 0x2394]
jne 0x44b840
mov eax, dword [ebp - 0x238c]
sub dword [ebp - 0x2388], 0x48
dec eax
mov dword [ebp - 0x238c], eax
test eax, eax
jns 0x44b830
mov eax, dword [0x5f3758]
mov dword [eax], 0x32
lea edi, [eax + 8]
mov ecx, 0x120
lea esi, [ebp - 0xb84]
mov dword [eax + 4], 0xa9
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x5f3758]
push 0x488
push eax
call fcn.0047b750
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
push 0xa
push str._modupload
push esi
call fcn.004ccfca
add esp, 0xc
test eax, eax
jne 0x44bda8
push str.modupload.txt
push 0x525258
lea ecx, [ebp - 0x704]
xor ebx, ebx
push 0x4e4cec
push ecx
mov dword [0x6a436c], ebx
mov dword [0x6a4160], ebx
xor edi, edi
call fcn.004cce8a
lea edx, [ebp - 0x404]
push str.Steam_Mod_Upload
push edx
call fcn.004cce8a
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x18
lea eax, [ebp - 0x704]
push eax
push 0x40
lea ecx, [ebp - 0x204]
push ecx
push ebx
push str.publishedfileid
lea edx, [ebp - 0x404]
push edx
call esi
lea eax, [ebp - 0x204]
push eax
call fcn.004cf29f
fnstcw word [ebp - 0x2386]
movzx eax, word [ebp - 0x2386]
or eax, 0xc00
mov dword [ebp - 0x238c], eax
push 0x200
lea edx, [ebp - 0x204]
fldcw word [ebp - 0x238c]
push ebx
push edx
fistp qword [ebp - 0x2390]
mov ecx, dword [ebp - 0x2390]
mov dword [0x6a4160], ecx
fldcw word [ebp - 0x2386]
call fcn.004cce10
add esp, 0x10
lea eax, [ebp - 0x704]
push eax
push 0x100
lea ecx, [ebp - 0x204]
push ecx
push ebx
push str.title
lea edx, [ebp - 0x404]
push edx
call esi
test eax, eax
jle 0x44baed
lea eax, [ebp - 0x204]
push eax
push 0x6a4d78
call fcn.004cce8a
add esp, 8
jmp 0x44baf2
mov edi, 0x664
push 0x200
lea ecx, [ebp - 0x204]
push ebx
push ecx
call fcn.004cce10
add esp, 0xc
lea edx, [ebp - 0x704]
push edx
push 0x100
lea eax, [ebp - 0x204]
push eax
push ebx
push str.contentfolder
lea ecx, [ebp - 0x404]
push ecx
call esi
test eax, eax
jle 0x44bb4d
lea edx, [ebp - 0x204]
push edx
push 0x525258
push str._sModUpData_s
push 0x6a51a0
call fcn.004cce8a
add esp, 0x10
jmp 0x44bb52
mov edi, 0x665
push 0x200
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.004cce10
add esp, 0xc
lea ecx, [ebp - 0x704]
push ecx
push 0x100
lea edx, [ebp - 0x204]
push edx
push ebx
push str.previewfile
lea eax, [ebp - 0x404]
push eax
call esi
test eax, eax
jle 0x44bbad
lea ecx, [ebp - 0x204]
push ecx
push 0x525258
push str._sModUpData_s
push 0x633a80
call fcn.004cce8a
add esp, 0x10
jmp 0x44bbb2
mov edi, 0x666
push 0x200
lea edx, [ebp - 0x204]
push ebx
push edx
call fcn.004cce10
add esp, 0xc
lea eax, [ebp - 0x704]
push eax
push 0x40
lea ecx, [ebp - 0x204]
push ecx
push ebx
push str.visibility
lea edx, [ebp - 0x404]
push edx
call esi
lea eax, [ebp - 0x204]
push eax
call fcn.004ce55a
add esp, 4
cmp eax, ebx
jne 0x44bc01
mov dword [0x63ddc4], ebx
jmp 0x44bc17
cmp eax, 1
jne 0x44bc0d
mov dword [0x63ddc4], eax
jmp 0x44bc17
cmp eax, 2
jne 0x44bc17
mov dword [0x63ddc4], eax
push 0x200
lea ecx, [ebp - 0x204]
push ebx
push ecx
call fcn.004cce10
add esp, 0xc
lea edx, [ebp - 0x704]
push edx
push 0x100
lea eax, [ebp - 0x204]
push eax
push ebx
push str.description
lea ecx, [ebp - 0x404]
push ecx
call esi
test eax, eax
jle 0x44bc68
lea edx, [ebp - 0x204]
push edx
push 0x41eb8b8
call fcn.004cce8a
add esp, 8
jmp 0x44bc6d
mov edi, 0x667
push 0x200
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.004cce10
add esp, 0xc
lea ecx, [ebp - 0x704]
push ecx
push 0x100
lea edx, [ebp - 0x204]
push edx
push ebx
push 0x4e5e78
lea eax, [ebp - 0x404]
push eax
call esi
test eax, eax
jle 0x44bcbe
lea ecx, [ebp - 0x204]
push ecx
push 0x53b210
call fcn.004cce8a
add esp, 8
jmp 0x44bcc3
mov edi, 0x668
push 0x200
lea edx, [ebp - 0x204]
push ebx
push edx
call fcn.004cce10
add esp, 0xc
cmp edi, ebx
je 0x44bd17
mov eax, dword [edi*4 + 0x5ec120]
add eax, dword [0x1a3ba10]
lea ecx, [ebp - 0x504]
push eax
push ecx
call fcn.004cce8a
lea edx, [ebp - 0x504]
push ebx
push edx
call fcn.0040d780
add esp, 0x10
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
cmp dword [0x6a4160], ebx
jne 0x44bd8d
mov dword [0x6a436c], 1
call fcn.00420c90
mov esi, eax
call fcn.00420cb0
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
mov edi, eax
mov eax, dword [edi]
push ebx
mov ecx, esi
mov dword [ebp - 0x238c], eax
call edx
push eax
mov eax, dword [ebp - 0x238c]
mov eax, dword [eax + 0x80]
mov ecx, edi
call eax
push 0x4482a0
push 0x51ce34
push edx
push eax
mov ecx, 0x51ce40
call fcn.00420be0
mov ecx, dword [0x51ce38]
pop ebx
pop edi
mov dword [0x6a4160], ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov dword [0x6a436c], 0xa
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
movzx edx, word [0x5f375c]
mov eax, dword [0x56895c]
imul edx, edx, 0x108c
test byte [edx + eax + 0x234], 2
jbe 0x44bdec
mov edx, dword [0x5ec5f4]
add edx, dword [0x1a3ba10]
push 5
push edx
call fcn.0040d780
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5f3758]
mov edi, dword [ebp + 0xc]
mov dword [eax], 0x32
mov dword [eax + 4], 0x64
mov cx, word [0x6a307c]
push edi
mov word [eax + 8], cx
mov word [eax + 0xa], di
add eax, 0xc
push esi
push eax
call fcn.004cf0d0
mov eax, dword [0x5f3758]
lea edx, [edi + 0xc]
push edx
push eax
call fcn.0047b750
add esp, 0x14
cmp byte [esi], 0x2f
jne 0x44be77
push edi
lea ecx, [ebp - 0x504]
push esi
push ecx
call fcn.004cd640
lea edx, [ebp - 0x503]
push 0x4e5e00
push edx
call fcn.004cef6b
add esp, 0x14
test eax, eax
je 0x44be77
mov ecx, eax
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x44be60
sub ecx, edi
cmp ecx, 0xf
ja 0x44be77
push eax
call fcn.0040c3f0
add esp, 4
push esi
call fcn.0040c540
add esp, 4
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ccd49
mov esp, ebp
pop ebp
ret