Function at 0x4160d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55740a
mov eax, dword fs:[0]
push eax
mov eax, 0x1560
call fcn.0052ca80
mov eax, dword [0x5ae8e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x404], 0xfffffe00
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x3d4], ecx
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 0x3ec], edx
mov dword [ebp - 0x400], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x278], 0xf
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x28c], bl
lea ecx, [ebp - 0x40c]
push ecx
push eax
mov edx, str.servicecode
lea edi, [ebp - 0x2dc]
mov byte [ebp - 4], 2
call fcn.00423d40
lea esi, [ebp - 0x238]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00423330
cmp dword [eax + 0x14], 0x10
jb 0x416184
mov eax, dword [eax]
push eax
call fcn.0052596c
add esp, 4
cmp dword [ebp - 0x224], 0x10
jb 0x4161a5
mov edx, dword [ebp - 0x238]
push edx
call fcn.004308fd
add esp, 4
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
mov byte [ebp - 4], 2
call fcn.004231b0
mov ecx, dword [ebp - 0x3c0]
lea eax, [ebp - 0x40c]
push eax
push ecx
mov edx, str.e_data
lea edi, [ebp - 0x2dc]
call fcn.00423d40
lea esi, [ebp - 0x238]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00423330
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x416207
mov edx, dword [eax]
jmp 0x416209
mov edx, eax
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x416210
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x28c]
call fcn.00406bd0
mov edi, 0x10
cmp dword [ebp - 0x224], edi
jb 0x416242
mov edx, dword [ebp - 0x238]
push edx
call fcn.004308fd
add esp, 4
mov esi, 0xf
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
mov byte [ebp - 4], 2
call fcn.004231b0
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2b4], ebx
mov byte [ebp - 0x2c4], bl
cmp dword [ebp + 0x10], 2
mov byte [ebp - 4], 6
jne 0x416447
mov edx, dword [ebp - 0x28c]
cmp dword [ebp - 0x278], edi
jae 0x41629c
lea edx, [ebp - 0x28c]
mov eax, edx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4162b3
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x238]
call fcn.00406bd0
lea eax, [ebp - 0x238]
push eax
lea ebx, [ebp - 0x2e4]
mov byte [ebp - 4], 7
call fcn.0041eb10
add esp, 4
push eax
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 8
call fcn.004028b0
mov esi, 0x10
cmp dword [ebp - 0x2d0], esi
jb 0x41630e
mov ecx, dword [ebp - 0x2e4]
push ecx
call fcn.004308fd
add esp, 4
xor eax, eax
mov dword [ebp - 0x2d0], 0xf
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 0x2e4], al
cmp dword [ebp - 0x224], esi
jb 0x41633d
mov edx, dword [ebp - 0x238]
push edx
call fcn.004308fd
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2d0], ebx
lea ecx, [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 9
call fcn.0041dce0
push 0x104
lea edx, [ebp - 0x1568]
push ebx
push edx
mov dword [ebp - method.CCrypto.virtual_0], vtable.CCrypto.0
call fcn.0052a4d0
mov eax, dword [str.pohang]
mov cx, word [0x588844]
mov dl, byte [0x588846]
add esp, 0xc
mov dword [ebp - 0x1568], eax
mov word [ebp - 0x1564], cx
mov byte [ebp - 0x1562], dl
mov dword [ebp - 0x568], 7
mov dword [ebp - 0x564], ebx
mov dword [ebp - 0x240], 0xf
mov dword [ebp - 0x244], ebx
mov byte [ebp - 0x254], bl
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2d4]
sub eax, dword [ebp - 0x2d8]
push ebx
lea edi, [eax + 1]
lea esi, [ebp - 0x254]
mov dword [ebp - 0x3c0], eax
call fcn.0041b850
push 0xd
push str.sharebox__00
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 0xf
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x270], bl
call fcn.00406bd0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x240], 0x10
mov eax, dword [ebp - 0x254]
jae 0x416433
mov eax, esi
mov edx, dword [ebp - 0x3c0]
cmp edx, ebx
ja 0x416461
push str.invalid_vector_T__subscript
call fcn.00543cf7
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00406810
jmp 0x41633f
mov ecx, dword [ebp - 0x270]
mov edi, 0x10
cmp dword [ebp - 0x25c], edi
jae 0x41647a
lea ecx, [ebp - 0x270]
push edx
mov edx, dword [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x2d8]
push eax
push edx
call fcn.0041ec40
mov esi, dword [ebp - 0x254]
cmp dword [ebp - 0x240], edi
jae 0x4164a3
lea esi, [ebp - 0x254]
lea eax, [ebp - 0x3bc]
push eax
call fcn.00425290
and dword [ebp - 0x3f4], 0xfffffe00
mov dword [ebp - 0x3f0], ebx
mov byte [ebp - 4], 0xf
mov eax, esi
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4164e0
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x238]
call fcn.00406bd0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 0x10
call fcn.00406810
mov edx, dword [ebp - 0x38c]
cmp dword [ebp - 0x378], edi
jae 0x416523
lea edx, [ebp - 0x38c]
mov eax, dword [ebp - 0x37c]
lea ecx, [edx + eax]
lea eax, [ebp - 0x3fc]
push eax
lea ebx, [ebp - 0x3bc]
call fcn.004253a0
test al, al
sete bl
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x224], 0x10
jb 0x41655f
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.004308fd
add esp, 4
xor esi, esi
lea eax, [ebp - 0x3fc]
test bl, bl
je 0x416646
mov byte [ebp - 4], 0xd
call fcn.004231b0
lea edi, [ebp - 0x3bc]
call fcn.00415b80
mov ebx, 0x10
cmp dword [ebp - 0x25c], ebx
jb 0x41659f
mov edx, dword [ebp - 0x270]
push edx
call fcn.004308fd
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x260], esi
mov byte [ebp - 0x270], 0
cmp dword [ebp - 0x240], ebx
jb 0x4165ce
mov eax, dword [ebp - 0x254]
push eax
call fcn.004308fd
add esp, 4
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], esi
mov byte [ebp - 0x254], 0
cmp eax, esi
je 0x4165f4
push eax
call fcn.004308fd
add esp, 4
cmp dword [ebp - 0x2b0], ebx
jb 0x41660b
mov ecx, dword [ebp - 0x2c4]
push ecx
call fcn.004308fd
add esp, 4
mov dword [ebp - 0x2b0], edi
mov dword [ebp - 0x2b4], esi
mov byte [ebp - 0x2c4], 0
cmp dword [ebp - 0x278], ebx
jb 0x416635
mov edx, dword [ebp - 0x28c]
push edx
call fcn.004308fd
add esp, 4
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x27c], esi
jmp 0x417249
push str.user_id
push eax
call fcn.00423ac0
lea esi, [ebp - 0x338]
mov ecx, eax
call fcn.00423330
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0x10
jb 0x41666c
mov edi, dword [eax]
jmp 0x41666e
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
test edi, edi
jne 0x41667c
xor eax, eax
jmp 0x4166a2
push edi
call ebx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x41668e
xor eax, eax
jmp 0x4166a2
lea eax, [esi + esi]
call fcn.0052d480
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0041c6b0
push eax
lea ecx, [ebp - 0x3e0]
call fcn.00408310
mov edi, 0x10
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x324], edi
jb 0x4166ce
mov ecx, dword [ebp - 0x338]
push ecx
call fcn.004308fd
add esp, 4
push str.user_pwd
lea edx, [ebp - 0x3fc]
push edx
mov dword [ebp - 0x324], 0xf
mov dword [ebp - 0x328], 0
mov byte [ebp - 0x338], 0
call fcn.00423ac0
lea esi, [ebp - 0x2a8]
mov ecx, eax
call fcn.00423330
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], edi
jb 0x416714
mov edi, dword [eax]
jmp 0x416716
mov edi, eax
test edi, edi
jne 0x41671e
xor eax, eax
jmp 0x416744
push edi
call ebx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x416730
xor eax, eax
jmp 0x416744
lea eax, [esi + esi]
call fcn.0052d480
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0041c6b0
push eax
lea ecx, [ebp - 0x3dc]
call fcn.00408310
mov edi, 0x10
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x294], edi
jb 0x416770
mov eax, dword [ebp - 0x2a8]
push eax
call fcn.004308fd
add esp, 4
push str.down_info
lea ecx, [ebp - 0x3fc]
mov ebx, 0xf
push ecx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x2a8], 0
call fcn.00423ac0
lea esi, [ebp - 0x31c]
mov ecx, eax
call fcn.00423330
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], edi
jb 0x4167b7
mov edx, dword [eax]
jmp 0x4167b9
mov edx, eax
mov eax, edx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4167d5
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x238]
call fcn.00406bd0
lea edx, [ebp - 0x238]
push edx
lea ebx, [ebp - 0x300]
mov byte [ebp - 4], 0x18
call fcn.0041eb10
add esp, 4
mov ebx, 0x10
cmp dword [ebp - 0x224], ebx
jb 0x416820
mov eax, dword [ebp - 0x238]
push eax
call fcn.004308fd
add esp, 4
mov esi, 0xf
xor edi, edi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], edi
mov byte [ebp - 0x238], 0
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x308], ebx
jb 0x416855
mov ecx, dword [ebp - 0x31c]
push ecx
call fcn.004308fd
add esp, 4
push str.time_stamp
lea edx, [ebp - 0x3fc]
push edx
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x30c], edi
mov byte [ebp - 0x31c], 0
call fcn.00423ac0
lea esi, [ebp - 0x2a8]
mov ecx, eax
call fcn.00423330
cmp dword [eax + 0x14], ebx
jb 0x41688d
mov eax, dword [eax]
push eax
call fcn.00525977
add esp, 4
cmp dword [ebp - 0x294], ebx
jb 0x4168ad
mov eax, dword [ebp - 0x2a8]
push eax
call fcn.004308fd
add esp, 4
call fcn.0043153b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4168c7
push 0x80004005
call fcn.004081d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3cc], eax
lea esi, [ebp - 0x3c0]
mov byte [ebp - 4], 0x1c
call fcn.004198f0
push str.Updater.exe
mov byte [ebp - 4], 0x1d
mov ecx, dword [eax]
push 0x5884bc
push ecx
lea edx, [ebp - 0x3cc]
push str._s_s_s
push edx
call fcn.00407a80
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x3c0]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416933
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x206
lea edx, [ebp - 0x21a]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x21c], cx
call fcn.0052a4d0
add esp, 0xc
push edi
push 0x23
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.0043153b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41697c
push 0x80004005
call fcn.004081d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3c4], eax
push 0x5884bc
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x3c4]
push str._s_s_
push edx
mov byte [ebp - 4], 0x1e
call fcn.00407a80
lea eax, [ebp - 0x3c4]
push eax
call fcn.0041eef0
add esp, 0x14
call fcn.0043153b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4169d8
push 0x80004005
call fcn.004081d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 0x1f
mov ebx, dword [ebp - 0x3c4]
push 0x587140
push ebx
lea ecx, [ebp - 0x3e8]
push 0x5884f4
push ecx
call fcn.00407a80
add esp, 0x10
lea ecx, [ebp - 0x428]
call fcn.00433f1c
mov byte [ebp - 4], 0x20
mov esi, dword [ebp - 0x3e8]
push edi
push esi
lea ecx, [ebp - 0x428]
call fcn.00433fc3
test eax, eax
je 0x416a3b
push edi
push esi
call fcn.00433291
call fcn.0043153b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x416a55
push 0x80004005
call fcn.004081d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3c8], eax
push str.ShareBox_Download_List_From_Updater
push ebx
lea ecx, [ebp - 0x3c8]
push 0x5884f4
push ecx
mov byte [ebp - 4], 0x21
call fcn.00407a80
mov ebx, dword [ebp - 0x3c8]
add esp, 0x10
push edi
push ebx
lea ecx, [ebp - 0x428]
call fcn.00433fc3
test eax, eax
je 0x416aa3
push edi
push ebx
call fcn.00433291
call fcn.0043153b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x416abd
push 0x80004005
call fcn.004081d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3d8], eax
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x3dc]
mov edx, dword [ebp - 0x3e0]
push ecx
push edx
lea eax, [ebp - 0x3d8]
push str.download__s__s
push eax
call fcn.00407a80
lea ebx, [esi - 0x10]
push ebx
mov dword [ebp - 0x3c0], ebx
call fcn.00407790
add eax, 0x10
add esp, 0x14
mov dword [ebp - 0x3d0], eax
mov ecx, str.ShareBoxSDown.exe
mov byte [ebp - 4], 0x23
call fcn.00420bd0
mov esi, eax
cmp esi, edi
jne 0x416b33
lea ecx, [ebp - 0x3c8]
push ecx
lea ecx, [ebp - 0x3d0]
call fcn.0041c640
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3e4]
xor edx, edx
test esi, esi
setne dl
push edx
push eax
push ecx
lea ecx, [ebp - 0x300]
call fcn.00418640
xor edi, edi
test esi, esi
jne 0x416ba0
mov edx, dword [ebp - 0x3d8]
mov eax, dword [ebp - 0x3cc]
push edx
push eax
call fcn.004199b0
mov ecx, str.ShareBoxSDown.exe
call fcn.00420bd0
test eax, eax
jne 0x416ba0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
inc edi
call esi
cmp edi, 0xa
jg 0x416c24
mov ecx, str.ShareBoxSDown.exe
call fcn.00420bd0
test eax, eax
je 0x416b81
lea edx, [ebp - 0x4c4]
push edx
call fcn.00401fe0
lea eax, [ebp - 0x4c4]
push str._result_:_ok_
push eax
mov byte [ebp - 4], 0x27
call fcn.00404740
mov eax, dword [ebp + 0x10]
add esp, 8
cmp eax, 1
jne 0x416f39
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x4c4]
call fcn.004020b0
mov esi, 0x10
mov byte [ebp - 4], 0x28
cmp dword [eax + 0x14], esi
jb 0x416bf1
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3d4]
push ecx
mov edx, eax
mov ecx, str.down_start_result
call fcn.00418860
cmp dword [ebp - 0x294], esi
jb 0x416fb1
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.004308fd
add esp, 4
jmp 0x416fb1
lea ecx, [ebp - 0x55c]
push ecx
call fcn.00401fe0
lea edx, [ebp - 0x55c]
push str._result_:_failed_
push edx
mov byte [ebp - 4], 0x24
call fcn.00404740
mov eax, dword [ebp + 0x10]
add esp, 8
cmp eax, 1
jne 0x416c8d
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x55c]
call fcn.004020b0
mov byte [ebp - 4], 0x25
cmp dword [eax + 0x14], 0x10
jb 0x416c6d
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3d4]
push ecx
mov edx, eax
mov ecx, str.down_start_result
call fcn.00418860
lea ecx, [ebp - 0x2a8]
call fcn.00406750
jmp 0x416cde
cmp eax, 2
jne 0x416cde
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x55c]
call fcn.004020b0
mov ecx, 0x10
mov byte [ebp - 4], 0x26
cmp dword [eax + 0x14], ecx
jb 0x416cb3
mov eax, dword [eax]
mov esi, dword [ebp - 0x3ec]
cmp dword [esi + 0x14], ecx
jb 0x416cc0
mov esi, dword [esi]
mov ebx, dword [ebp - 0x3d4]
mov edi, eax
call fcn.00419560
lea ecx, [ebp - 0x2a8]
call fcn.00406750
mov ebx, dword [ebp - 0x3c0]
lea ecx, [ebp - 0x55c]
mov byte [ebp - 4], 0x23
call fcn.00401690
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x3d0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416d13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x3d8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416d39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x3c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416d5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x1f
call fcn.00433f4e
mov byte [ebp - 4], 0x1e
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416d8b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x3c4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416db1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x3cc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416dd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x2ec], 0x10
jb 0x416def
mov ecx, dword [ebp - 0x300]
push ecx
call fcn.004308fd
add esp, 4
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x3dc]
add eax, 0xfffffff0
mov dword [ebp - 0x2ec], 0xf
mov dword [ebp - 0x2f0], 0
mov byte [ebp - 0x300], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416e30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x3e0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x3fc]
mov byte [ebp - 4], 0xd
call fcn.004231b0
lea edi, [ebp - 0x3bc]
call fcn.00415b80
mov ebx, 0x10
cmp dword [ebp - 0x25c], ebx
jb 0x416e8c
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.004308fd
add esp, 4
xor esi, esi
mov edi, 0xf
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x260], esi
mov byte [ebp - 0x270], 0
cmp dword [ebp - 0x240], ebx
jb 0x416ebd
mov edx, dword [ebp - 0x254]
push edx
call fcn.004308fd
add esp, 4
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], esi
mov byte [ebp - 0x254], 0
cmp eax, esi
je 0x416ee3
push eax
call fcn.004308fd
add esp, 4
cmp dword [ebp - 0x2b0], ebx
jb 0x416efa
mov eax, dword [ebp - 0x2c4]
push eax
call fcn.004308fd
add esp, 4
mov dword [ebp - 0x2b0], edi
mov dword [ebp - 0x2b4], esi
mov byte [ebp - 0x2c4], 0
cmp dword [ebp - 0x278], ebx
jb 0x416635
mov ecx, dword [ebp - 0x28c]
push ecx
call fcn.004308fd
add esp, 4
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x27c], esi
jmp 0x417249
cmp eax, 2
jne 0x416fac
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x4c4]
call fcn.004020b0
mov byte [ebp - 4], 0x29
cmp dword [eax + 0x14], 0x10
jb 0x416f5b
mov eax, dword [eax]
mov esi, dword [ebp - 0x3ec]
cmp dword [esi + 0x14], 0x10
jb 0x416f69
mov esi, dword [esi]
mov ebx, dword [ebp - 0x3d4]
mov edi, eax
call fcn.00419560
cmp dword [ebp - 0x294], 0x10
jb 0x416f8e
mov eax, dword [ebp - 0x2a8]
push eax
call fcn.004308fd
add esp, 4
mov ebx, dword [ebp - 0x3c0]
xor eax, eax
mov dword [ebp - 0x294], 0xf
mov dword [ebp - 0x298], eax
mov byte [ebp - 0x2a8], al
mov esi, 0x10
mov edx, dword [ebp - 0x4c4]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x3e4], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 0x2a
call fcn.004020d0
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x4c4]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x474]
mov dword [ebp + edx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::ios_base.0
call fcn.00543e4c
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x3d0]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417037
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x3d8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41705d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x3c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417083
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x1f
call fcn.00433f4e
mov byte [ebp - 4], 0x1e
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170af
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x3c4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x3cc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x2ec], esi
jb 0x417112
mov ecx, dword [ebp - 0x300]
push ecx
call fcn.004308fd
add esp, 4
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x3dc]
mov ebx, 0xf
add eax, 0xfffffff0
mov dword [ebp - 0x2ec], ebx
mov dword [ebp - 0x2f0], 0
mov byte [ebp - 0x300], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x3e0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417179
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x3fc]
mov byte [ebp - 4], 0xd
call fcn.004231b0
lea edi, [ebp - 0x3bc]
call fcn.00415b80
cmp dword [ebp - 0x25c], esi
jb 0x4171aa
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.004308fd
add esp, 4
xor edi, edi
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x260], edi
mov byte [ebp - 0x270], 0
cmp dword [ebp - 0x240], esi
jb 0x4171d6
mov edx, dword [ebp - 0x254]
push edx
call fcn.004308fd
add esp, 4
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x244], edi
mov byte [ebp - 0x254], 0
cmp eax, edi
je 0x4171fc
push eax
call fcn.004308fd
add esp, 4
cmp dword [ebp - 0x2b0], esi
jb 0x417213
mov eax, dword [ebp - 0x2c4]
push eax
call fcn.004308fd
add esp, 4
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x2b4], edi
mov byte [ebp - 0x2c4], 0
cmp dword [ebp - 0x278], esi
jb 0x41723d
mov ecx, dword [ebp - 0x28c]
push ecx
call fcn.004308fd
add esp, 4
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x27c], edi
lea eax, [ebp - 0x40c]
mov byte [ebp - 0x28c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004231b0
lea esp, [ebp - 0x157c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00524074
mov esp, ebp
pop ebp
ret 0xc