Function at 0x4dd2f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x2c]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x40], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0xc], 0
mov eax, dword [edi + 0x149c]
push 1
push eax
mov ecx, esi
call fcn.0051c380
push 0xafd0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov ecx, eax
test eax, eax
jne 0x4dd36b
mov ecx, 0x54ee24
mov eax, dword [esi + 4]
test eax, eax
je 0x4dd395
test ecx, ecx
je 0x4dd395
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4dd3a1
mov edx, dword [esi]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4dd3a1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x8100
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4dd3d4
push eax
call fcn.0051eadb
add esp, 4
lea esi, [edi + 0x50]
mov dword [ebp - 0x24], esi
test ebx, ebx
je 0x4dd414
push 0x3e9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dd400
push 0x3e9
push ebx
mov edi, eax
call fcn.00435080
mov edi, dword [ebp - 0x10]
jmp 0x4dd424
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4dd424
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4dd430
mov ecx, 0x54ee24
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x60]
test eax, eax
je 0x4dd45d
test ecx, ecx
je 0x4dd45d
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4dd469
mov eax, dword [esi]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4dd469
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x2af9
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4dd49c
push eax
call fcn.0051eadb
add esp, 4
lea esi, [edi + 0x74]
mov dword [ebp - 0x28], esi
test ebx, ebx
je 0x4dd4dc
push 0x3f4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dd4c8
push 0x3f4
push ebx
mov edi, eax
call fcn.00435080
mov edi, dword [ebp - 0x10]
jmp 0x4dd4ec
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4dd4ec
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4dd4f8
mov ecx, 0x54ee24
mov eax, dword [edi + 0x88]
lea esi, [edi + 0x84]
test eax, eax
je 0x4dd52b
test ecx, ecx
je 0x4dd52b
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4dd537
mov ecx, dword [esi]
mov edi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4dd537
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x80ed
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4dd56a
push eax
call fcn.0051eadb
add esp, 4
lea esi, [edi + 0x98]
test ebx, ebx
je 0x4dd5aa
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dd596
push 0x3ea
push ebx
mov edi, eax
call fcn.00435080
mov edi, dword [ebp - 0x10]
jmp 0x4dd5ba
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4dd5ba
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4dd5c6
mov ecx, 0x54ee24
mov eax, dword [edi + 0xac]
lea esi, [edi + 0xa8]
test eax, eax
je 0x4dd5f9
test ecx, ecx
je 0x4dd5f9
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4dd605
mov edx, dword [esi]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4dd605
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x80ea
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4dd638
push eax
call fcn.0051eadb
add esp, 4
lea esi, [edi + 0xbc]
test ebx, ebx
je 0x4dd678
push 0x3eb
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dd664
push 0x3eb
push ebx
mov edi, eax
call fcn.00435080
mov edi, dword [ebp - 0x10]
jmp 0x4dd688
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4dd688
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4dd694
mov ecx, 0x54ee24
mov eax, dword [edi + 0xd0]
lea esi, [edi + 0xcc]
test eax, eax
je 0x4dd6c7
test ecx, ecx
je 0x4dd6c7
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4dd6d3
mov eax, dword [esi]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4dd6d3
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x8102
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4dd706
push eax
call fcn.0051eadb
add esp, 4
lea esi, [edi + 0xe0]
test ebx, ebx
je 0x4dd746
push 0x3ec
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dd732
push 0x3ec
push ebx
mov edi, eax
call fcn.00435080
mov edi, dword [ebp - 0x10]
jmp 0x4dd756
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4dd756
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4dd762
mov ecx, 0x54ee24
mov eax, dword [edi + 0xf4]
lea esi, [edi + 0xf0]
test eax, eax
je 0x4dd795
test ecx, ecx
je 0x4dd795
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4dd7a1
mov ecx, dword [esi]
mov edi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4dd7a1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x8108
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4dd7d4
push eax
call fcn.0051eadb
add esp, 4
lea esi, [edi + 0x104]
test ebx, ebx
je 0x4dd811
push 0x3f3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dd7fd
push 0x3f3
push ebx
mov edi, eax
call fcn.00435080
jmp 0x4dd821
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea edi, [edx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x4dd821
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4dd82d
mov ecx, 0x54ee24
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x118]
add edi, 0x114
test eax, eax
je 0x4dd861
test ecx, ecx
je 0x4dd861
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4dd86d
mov edx, dword [edi]
mov ebx, dword [edx + 4]
add ebx, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x4dd86d
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [eax + edi], 0x57
xor bl, bl
cmp byte [0x57774c], bl
jne 0x4dd880
call fcn.004c7c70
test al, al
je 0x4dd882
mov bl, 1
mov eax, dword [esi + 8]
test eax, eax
je 0x4dd8a3
test bl, bl
je 0x4dd898
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4dd8b3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4dd8b3
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 6
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x14a0], 0
je 0x4dd8cd
mov ecx, dword [ebp + 8]
push ecx
add eax, 0x170
call fcn.00476b90
mov edi, dword [ebp - 0x10]
lea esi, [edi + 0x14a4]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004f7350
mov ebx, eax
mov ecx, esi
mov dword [ebp - 0x18], ebx
call fcn.004f6d60
add edi, 0x1c4
mov dword [ebp - 0x1c], eax
test ebx, ebx
je 0x4dd901
mov edx, dword [ebx]
mov dword [edi + 0x424], edx
test eax, eax
je 0x4dd917
mov dword [edi + 0x410], eax
mov dword [edi + 0x7dc], eax
mov dword [edi + 0xb18], eax
mov esi, dword [ebp + 8]
push 0x258
push esi
mov ecx, edi
call fcn.0047de50
push 0
push esi
mov ebx, edi
call fcn.0047df70
push esi
call fcn.0047e090
push esi
push edi
call fcn.0047e210
push 0
push esi
push edi
call fcn.0047e530
push esi
push edi
call fcn.0047e7a0
mov ecx, dword [ebp - 0x14]
call fcn.004f6ee0
test eax, eax
je 0x4dd97a
mov dword [edi + 0x414], eax
mov dword [edi + 0x7e8], eax
mov dword [edi + 0xb24], eax
mov eax, esi
call fcn.0047ea10
mov eax, esi
call fcn.0047eaf0
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.004f7030
test eax, eax
je 0x4dd99a
mov dword [edi + 0x418], eax
mov dword [edi + 0x7e0], eax
mov dword [edi + 0xb1c], eax
mov ecx, ebx
call fcn.004f7110
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4dd9d4
mov dword [edi + 0x41c], eax
mov dword [edi + 0x7e4], eax
mov dword [edi + 0xb20], eax
mov eax, esi
mov ebx, edi
call fcn.0047ebd0
push edi
mov eax, esi
call fcn.0047ecb0
push 1
mov eax, esi
call fcn.0047e930
call fcn.0047fd80
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4ddad2
mov ecx, dword [eax]
cmp ecx, 0xa0
je 0x4dd9f6
cmp ecx, 0x80000
jne 0x4dda2b
mov ebx, dword [ebp - 0x10]
mov al, 1
cmp byte [ebx + 0x1058], al
je 0x4dda09
mov byte [ebx + 0x1058], al
cmp dword [edi + 0x424], ecx
je 0x4dda1f
push 0
push edi
mov dword [edi + 0x424], ecx
call fcn.00480a50
mov eax, edi
call fcn.0047ee50
mov eax, dword [ebp - 0x1c]
jmp 0x4dda5f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
cmp ecx, 3
je 0x4dda3a
cmp ecx, 4
jne 0x4dda5c
cmp dword [eax + 4], 0x12c
jne 0x4dda5c
mov ecx, dword [ebp - 0x10]
cmp byte [ecx + 0x1058], 1
je 0x4dda5c
mov edx, ecx
mov byte [edx + 0x1058], 1
mov ebx, ecx
jmp 0x4dda5f
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea edi, [ebx + 0xd18]
mov dword [edi + 0x334], ecx
test eax, eax
je 0x4dda78
mov dword [edi + 0x338], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4dda85
mov dword [edi + 0x33c], eax
push esi
push edi
call fcn.0047a700
push esi
push edi
call fcn.0047ad00
push 3
push edi
mov ecx, esi
call fcn.0047a4b0
mov ecx, dword [ebp - 0x14]
call fcn.004f7430
lea esi, [ebx + 0x105c]
call fcn.00477270
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ebx, dword [ebp + 8]
push 0
push 0
push eax
push esi
call fcn.004772c0
push 0
push 0
mov edx, ebx
mov ecx, esi
call fcn.00477640
mov esi, ebx
push 0x8109
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4ddb05
push eax
call fcn.0051eadb
add esp, 4
mov ebx, dword [ebp - 0x10]
test esi, esi
je 0x4ddb4e
push 0x3f8
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4ddb34
push 0x3f8
push esi
mov edi, eax
lea esi, [ebx + 0x14c]
call fcn.00435080
mov esi, dword [ebp + 8]
jmp 0x4ddb64
mov edx, dword [ebx + 0x15c]
mov eax, dword [edx + 4]
lea ebx, [eax + ebx + 0x15c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x4ddb64
mov ecx, dword [ebx + 0x15c]
mov edx, dword [ecx + 4]
lea ebx, [edx + ebx + 0x15c]
mov dword [ebx], 0x57
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4ddb70
mov ecx, 0x54ee24
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x160]
test eax, eax
je 0x4ddba5
test ecx, ecx
je 0x4ddba5
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4ddbb9
mov eax, dword [ebx + 0x15c]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x15c], eax
jmp 0x4ddbb9
mov ecx, dword [ebx + 0x15c]
mov eax, dword [ecx + 4]
mov dword [eax + ebx + 0x15c], 0x57
call fcn.004f68a0
xor edi, edi
mov byte [ebp + 0xb], al
cmp esi, edi
je 0x4ddc08
push 0x7df
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, edi
je 0x4ddbee
push 0x7df
push esi
mov edi, eax
lea esi, [ebx + 0x128]
call fcn.00435080
xor edi, edi
jmp 0x4ddc1e
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
lea esi, [eax + ebx + 0x138]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4ddc1e
mov ecx, dword [ebx + 0x138]
mov edx, dword [ecx + 4]
lea eax, [edx + ebx + 0x138]
mov dword [eax], 0x57
mov eax, ebx
cmp byte [eax + 0x14a1], 0
lea ecx, [ebp - 0x40]
je 0x4ddcda
push 0x84e7
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
cmp eax, edi
je 0x4ddc60
push eax
call fcn.0051eadb
add esp, 4
cmp byte [ebp + 0xb], 0
mov eax, dword [ebx + 0x13c]
jne 0x4ddc8c
cmp eax, edi
je 0x4ddc81
push edi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4ddcb4
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
jmp 0x4ddca9
cmp eax, edi
je 0x4ddca0
push edi
push edi
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4ddcb4
mov eax, dword [ebx + 0x138]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x138], 6
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 8]
cmp eax, edi
je 0x4ddccb
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ddd8b
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + ecx + 0x10]
jmp 0x4ddd85
push 0x84e8
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
cmp eax, edi
je 0x4ddd13
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
cmp byte [ebp + 0xb], 0
mov eax, dword [ebx + 0x13c]
je 0x4ddd3f
cmp eax, edi
je 0x4ddd34
push edi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4ddd67
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
jmp 0x4ddd5c
cmp eax, edi
je 0x4ddd53
push edi
push edi
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4ddd67
mov eax, dword [ebx + 0x138]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x138], 6
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x4ddd7b
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ddd8b
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 4]
lea eax, [edx + eax + 0x10]
mov dword [eax], 6
mov ecx, dword [ebp - 0x34]
cmp ecx, edi
jne 0x4ddd97
mov ecx, 0x54ee24
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x13c]
cmp eax, edi
je 0x4dddcc
cmp ecx, edi
je 0x4dddcc
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4ddde0
mov eax, dword [esi + 0x138]
mov ebx, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + esi + 0x138], eax
jmp 0x4ddde0
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx + 4]
mov dword [eax + esi + 0x138], 0x57
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x4dddf7
push eax
call fcn.0051eadb
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc