Function at 0x41d8c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48da20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], 0x4966b0
mov dword [esp + 0x34], 0x496684
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov eax, dword [ebx + 4]
push 0x4cb
push eax
mov dword [esp + 0x78], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push edi
mov ebp, eax
push 0x190
push ebp
call dword [0x4b0124]
mov esi, eax
cmp esi, edi
jg 0x41d96d
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], 0x4966b0
mov dword [esp + 0x34], 0x496684
call fcn.0041d230
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x41db13
push eax
push edi
jmp 0x41db06
lea ecx, [esi*4]
push ecx
call fcn.00487721
add esp, 4
mov edi, eax
push edi
push esi
push 0x191
push ebp
call dword [0x4b0124]
test eax, eax
jle 0x41d9c3
xor ebx, ebx
test esi, esi
jle 0x41d9bf
mov eax, dword [edi + ebx*4]
push 0
push eax
push 0x199
push ebp
call dword [0x4b0124]
test eax, eax
je 0x41d9ba
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.0041d500
inc ebx
cmp ebx, esi
jl 0x41d997
mov ebx, dword [esp + 0x10]
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
movzx edx, word [esp + 0x80]
mov eax, dword [ebx + 4]
add esp, 4
push edx
push eax
call dword [sym.imp.USER32.dll_EndDialog]
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x4b028c
mov edi, eax
call fcn.004050b0
mov eax, dword [0x4b1dac]
push 0
push 0x40a610
push edi
push 0x236
push eax
call fcn.00410c00
mov edx, dword [0x4b1dec]
add esp, 0x14
mov ecx, 0x4b1dec
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov ecx, esi
sub ecx, eax
push ecx
push eax
push esi
lea edx, [esp + 0x1c]
push 0x29f3
push edx
mov byte [esp + 0x84], 2
call fcn.00416da0
mov eax, dword [0x4b1dec]
add esp, 0x14
mov ecx, 0x4b1dec
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x7c], esi
push 0
push 0x29f4
mov byte [esp + 0x78], 3
call fcn.00401200
add esp, 8
test eax, eax
je 0x41da92
push 0x29f4
push eax
lea ecx, [esp + 0x84]
call fcn.00407360
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
push 0
push esi
push edi
push ecx
call dword [0x4b010c]
add esi, 0xfffffff0
mov byte [esp + 0x70], 2
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41dac3
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x70], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dae2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], 0x4966b0
mov dword [esp + 0x34], 0x496684
call fcn.0041d230
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41db13
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x10