Function at 0x41d9f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x59fb58
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
xor ebp, ebp
sub eax, 0x10
mov dword [esp + 0x1c], ebp
call fcn.00403ce0
add eax, 0x10
mov dword [esp + 0x14], eax
push 3
push 0x5be2ec
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x34], ebp
call fcn.00403fc0
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00403fc0
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push ebp
push ebp
mov byte [esp + 0x30], 1
mov ecx, dword [esi + 0x38]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esi + 0x38]
push 0x1004
push ecx
call ebx
test eax, eax
jle 0x41dad0
push 0
push ebp
push edi
lea eax, [esp + 0x24]
call fcn.0040a330
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x41dba4
mov ecx, dword [edi]
push 0
push 0
push 0x1004
push ecx
add ebp, 1
call ebx
cmp ebp, eax
jl 0x41da94
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
push esi
call fcn.0041c4c0
mov ebp, eax
test ebp, ebp
je 0x41dbf8
mov eax, dword [edi]
push 0
push 0
push 0x1004
push eax
call ebx
mov ecx, dword [esp + 0x14]
push 0
push ecx
push edi
mov edx, eax
mov ecx, 1
call fcn.0040a460
mov edx, dword [ebp + 0x14]
add dword [esi + 0x44], edx
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x28], 2
mov eax, dword [esi + 0x44]
push eax
push 0x5be24c
lea edi, [esp + 0x3c]
call fcn.004126f0
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 8
push 0x42c
push ecx
call edi
mov ebx, dword [esp + 0x34]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esi + 0x44], 0x2800
jbe 0x41db7c
mov edx, dword [esi + 4]
push 0x42d
push edx
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add ebx, 0xfffffff0
mov esi, 1
mov byte [esp + 0x28], 1
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41dbfc
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
jmp 0x41dbfc
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dbc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dbf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41dc4b
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8