Function at 0x4e04b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540e70
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.0051c450
push 0xafd1
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov ecx, eax
test eax, eax
jne 0x4e052b
mov ecx, 0x54ee24
mov eax, dword [esi + 4]
test eax, eax
je 0x4e0555
test ecx, ecx
je 0x4e0555
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e0561
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 0x4e0561
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.00471480
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 0x4e0594
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x50]
mov dword [ebp - 0x24], esi
test ebx, ebx
je 0x4e05d4
push 0x3e9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e05c0
push 0x3e9
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x10]
jmp 0x4e05e4
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 0x4e05e4
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 0x4e05f0
mov ecx, 0x54ee24
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x60]
test eax, eax
je 0x4e061d
test ecx, ecx
je 0x4e061d
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e0629
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 0x4e0629
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.00471480
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 0x4e065c
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x74]
mov dword [ebp - 0x28], esi
test ebx, ebx
je 0x4e069c
push 0x3f4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e0688
push 0x3f4
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x10]
jmp 0x4e06ac
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 0x4e06ac
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 0x4e06b8
mov ecx, 0x54ee24
mov eax, dword [edi + 0x88]
lea esi, [edi + 0x84]
test eax, eax
je 0x4e06eb
test ecx, ecx
je 0x4e06eb
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e06f7
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 0x4e06f7
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.00471480
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 0x4e072a
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x98]
test ebx, ebx
je 0x4e076a
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e0756
push 0x3ea
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x10]
jmp 0x4e077a
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 0x4e077a
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 0x4e0786
mov ecx, 0x54ee24
mov eax, dword [edi + 0xac]
lea esi, [edi + 0xa8]
test eax, eax
je 0x4e07b9
test ecx, ecx
je 0x4e07b9
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e07c5
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 0x4e07c5
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.00471480
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 0x4e07f8
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0xbc]
test ebx, ebx
je 0x4e0838
push 0x3eb
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e0824
push 0x3eb
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x10]
jmp 0x4e0848
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 0x4e0848
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 0x4e0854
mov ecx, 0x54ee24
mov eax, dword [edi + 0xd0]
lea esi, [edi + 0xcc]
test eax, eax
je 0x4e0887
test ecx, ecx
je 0x4e0887
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e0893
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 0x4e0893
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.00471480
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 0x4e08c6
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0xe0]
test ebx, ebx
je 0x4e0906
push 0x3ec
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e08f2
push 0x3ec
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x10]
jmp 0x4e0916
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 0x4e0916
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 0x4e0922
mov ecx, 0x54ee24
mov eax, dword [edi + 0xf4]
lea esi, [edi + 0xf0]
test eax, eax
je 0x4e0955
test ecx, ecx
je 0x4e0955
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e0961
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 0x4e0961
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.00471480
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 0x4e0994
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x104]
test ebx, ebx
je 0x4e09d1
push 0x3f3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e09bd
push 0x3f3
push ebx
mov edi, eax
call fcn.004351f0
jmp 0x4e09e1
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 0x4e09e1
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 0x4e09ed
mov ecx, 0x54ee24
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x118]
add edi, 0x114
test eax, eax
je 0x4e0a21
test ecx, ecx
je 0x4e0a21
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e0a2d
mov edx, dword [edi]
mov ebx, dword [edx + 4]
add ebx, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x4e0a2d
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [eax + edi], 0x57
xor bl, bl
cmp byte [0x57774c], bl
jne 0x4e0a40
call fcn.004c7ce0
test al, al
je 0x4e0a42
mov bl, 1
mov eax, dword [esi + 8]
test eax, eax
je 0x4e0a63
test bl, bl
je 0x4e0a58
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e0a73
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e0a73
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 0x4e0a8d
mov ecx, dword [ebp + 8]
push ecx
add eax, 0x170
call fcn.00476cd0
mov edi, dword [ebp - 0x10]
lea esi, [edi + 0x14a4]
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.004f72e0
mov ebx, eax
mov ecx, esi
mov dword [ebp - 0x1c], ebx
call fcn.004f6cf0
add edi, 0x1c4
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x4e0ac1
mov edx, dword [ebx]
mov dword [edi + 0x424], edx
test eax, eax
je 0x4e0ad7
mov dword [edi + 0x410], eax
mov dword [edi + 0x7dc], eax
mov dword [edi + 0xb18], eax
mov esi, dword [ebp + 8]
push 0x4b0
push esi
mov ecx, edi
call fcn.0047dfa0
push 0
push esi
mov ebx, edi
call fcn.0047e0c0
push esi
call fcn.0047e1e0
push esi
push edi
call fcn.0047e360
push 0
push esi
push edi
call fcn.0047e680
push esi
push edi
call fcn.0047e8f0
mov ecx, dword [ebp - 0x18]
call fcn.004f6e70
test eax, eax
je 0x4e0b3a
mov dword [edi + 0x414], eax
mov dword [edi + 0x7e8], eax
mov dword [edi + 0xb24], eax
mov eax, esi
call fcn.0047eb60
mov eax, esi
call fcn.0047ec40
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.004f6fc0
test eax, eax
je 0x4e0b5a
mov dword [edi + 0x418], eax
mov dword [edi + 0x7e0], eax
mov dword [edi + 0xb1c], eax
mov ecx, ebx
call fcn.004f70a0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4e0b94
mov dword [edi + 0x41c], eax
mov dword [edi + 0x7e4], eax
mov dword [edi + 0xb20], eax
mov eax, esi
mov ebx, edi
call fcn.0047ed20
push edi
mov eax, esi
call fcn.0047ee00
push 1
mov eax, esi
call fcn.0047ea80
call fcn.0047fed0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4e0c94
mov ecx, dword [eax]
cmp ecx, 0xa0
je 0x4e0bb6
cmp ecx, 0x80000
jne 0x4e0bcb
mov ebx, dword [ebp - 0x10]
cmp byte [ebx + 0x1058], 1
je 0x4e0bff
mov byte [ebx + 0x1058], 1
jmp 0x4e0bff
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
cmp eax, 3
je 0x4e0bda
cmp eax, 4
jne 0x4e0bfc
cmp dword [edx + 4], 0x12c
jne 0x4e0bfc
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x1058], 1
je 0x4e0bfc
mov edx, eax
mov byte [edx + 0x1058], 1
mov ebx, eax
jmp 0x4e0bff
mov ebx, dword [ebp - 0x10]
cmp dword [edi + 0x424], ecx
je 0x4e0c15
push 0
push edi
mov dword [edi + 0x424], ecx
call fcn.00480ba0
mov eax, edi
call fcn.0047efa0
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
lea edi, [ebx + 0xd18]
mov dword [edi + 0x334], eax
je 0x4e0c3a
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x338], ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4e0c47
mov dword [edi + 0x33c], eax
push esi
push edi
call fcn.0047a850
push esi
push edi
call fcn.0047ae50
push 4
push edi
mov ecx, esi
call fcn.0047a600
mov ecx, dword [ebp - 0x18]
call fcn.004f73c0
lea esi, [ebx + 0x105c]
call fcn.004773b0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ebx, dword [ebp + 8]
push 1
push 0
push eax
push esi
call fcn.00477400
push 1
push 1
mov edx, ebx
mov ecx, esi
call fcn.00477780
mov esi, ebx
push 0x8109
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x4e0cc7
push eax
call fcn.0051ebab
add esp, 4
mov ebx, dword [ebp - 0x10]
test esi, esi
je 0x4e0d10
push 0x3f8
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e0cf6
push 0x3f8
push esi
mov edi, eax
lea esi, [ebx + 0x14c]
call fcn.004351f0
mov esi, dword [ebp + 8]
jmp 0x4e0d26
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 0x4e0d26
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 0x4e0d32
mov ecx, 0x54ee24
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x160]
test eax, eax
je 0x4e0d67
test ecx, ecx
je 0x4e0d67
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e0d7b
mov eax, dword [ebx + 0x15c]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x15c], eax
jmp 0x4e0d7b
mov ecx, dword [ebx + 0x15c]
mov eax, dword [ecx + 4]
mov dword [eax + ebx + 0x15c], 0x57
call fcn.004f6830
xor edi, edi
mov byte [ebp + 0xb], al
cmp esi, edi
je 0x4e0dca
push 0x7df
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, edi
je 0x4e0db0
push 0x7df
push esi
mov edi, eax
lea esi, [ebx + 0x128]
call fcn.004351f0
xor edi, edi
jmp 0x4e0de0
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 0x4e0de0
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 0x4e0e9b
push 0x84e7
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x4e0e22
push eax
call fcn.0051ebab
add esp, 4
cmp byte [ebp + 0xb], 0
mov eax, dword [ebx + 0x13c]
jne 0x4e0e65
cmp eax, edi
je 0x4e0e49
push edi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x24]
jmp 0x4e0f2b
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax + ebx + 0x138], 6
jmp 0x4e0f2b
cmp eax, edi
je 0x4e0e7f
push edi
push edi
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x24]
jmp 0x4e0f2b
mov eax, dword [ebx + 0x138]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax + ebx + 0x138], 6
jmp 0x4e0f2b
push 0x84e8
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x4e0ed4
push eax
call fcn.0051ebab
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 0x4e0f00
cmp eax, edi
je 0x4e0ef5
push edi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4e0f28
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
jmp 0x4e0f1d
cmp eax, edi
je 0x4e0f14
push edi
push edi
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4e0f28
mov eax, dword [ebx + 0x138]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x138], 6
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 8]
cmp eax, edi
je 0x4e0f3c
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e0f4c
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + ecx + 0x10]
mov dword [eax], 6
mov ecx, dword [ebp - 0x34]
cmp ecx, edi
jne 0x4e0f58
mov ecx, 0x54ee24
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x13c]
cmp eax, edi
je 0x4e0f8d
cmp ecx, edi
je 0x4e0f8d
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e0fa1
mov ecx, dword [esi + 0x138]
mov ebx, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + esi + 0x138], eax
jmp 0x4e0fa1
mov edx, dword [esi + 0x138]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x138], 0x57
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x4e0fb8
push eax
call fcn.0051ebab
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