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

Disassembly:
push 0xffffffffffffffff
push 0x48abf0
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], 0x493448
mov dword [esp + 0x34], 0x49341c
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 [0x4ac12c]
mov esi, eax
cmp esi, edi
jg 0x41d72d
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], 0x493448
mov dword [esp + 0x34], 0x49341c
call fcn.0041d120
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x41d8d3
push eax
push edi
jmp 0x41d8c6
lea ecx, [esi*4]
push ecx
call fcn.004844a9
add esp, 4
mov edi, eax
push edi
push esi
push 0x191
push ebp
call dword [0x4ac12c]
test eax, eax
jle 0x41d783
xor ebx, ebx
test esi, esi
jle 0x41d77f
mov eax, dword [edi + ebx*4]
push 0
push eax
push 0x199
push ebp
call dword [0x4ac12c]
test eax, eax
je 0x41d77a
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.0041d2c0
inc ebx
cmp ebx, esi
jl 0x41d757
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 0x4ac294
mov edi, eax
call fcn.00405180
mov eax, dword [0x4adb50]
push 0
push 0x40a680
push edi
push 0x236
push eax
call fcn.00410c50
mov edx, dword [0x4adb90]
add esp, 0x14
mov ecx, 0x4adb90
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 [0x4adb90]
add esp, 0x14
mov ecx, 0x4adb90
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 0x41d852
push 0x29f4
push eax
lea ecx, [esp + 0x84]
call fcn.00407380
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 [0x4ac114]
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 0x41d883
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 0x41d8a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], 0x493448
mov dword [esp + 0x34], 0x49341c
call fcn.0041d120
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41d8d3
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