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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x482407
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x4b0760]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push esi
push edi
mov eax, dword [0x4b0760]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
push 0xf
mov dword [esp + 0x14], eax
pop eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x94], cl
mov dword [esp + 0x4d8], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov byte [esp + 0x28], cl
mov bl, cl
mov byte [esp + 0x4d8], 1
mov edx, 0x27d4
lea ecx, [esp + 0xac]
call fcn.004277a3
cmp dword [eax + 0x14], 8
jb 0x41d958
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
call dword [0x4896a8]
push 0
push 1
lea ecx, [esp + 0xb4]
mov dword [esp + 0x1c], eax
call fcn.00402e4f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41dc7d
cmp dword [esi + 0x14], 8
jb 0x41d98d
mov esi, dword [esi]
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push ecx
push 0x50
push esi
push eax
call dword [0x4896c0]
mov dword [esp + 0x20], eax
test eax, eax
je 0x41dc57
cmp dword [edi + 0x14], 8
jb 0x41d9b3
mov edi, dword [edi]
push 1
push 0x4000000
push str.Both
push 0
push 0
push edi
push 0x498dcc
push eax
call dword [0x4896b0]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x41dc32
lea ecx, [esp + 0x58]
call fcn.004279bc
mov esi, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x4d8], 2
call fcn.004279bc
cmp dword [eax + 0x14], 8
jb 0x41da02
mov eax, dword [eax]
push dword [ebp + 0x14]
push dword [esp + 0x14]
push dword [esi + 0x10]
push eax
push edi
call dword [0x4896bc]
push 0
push 1
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.00402e4f
push 0
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x4e0], 1
call fcn.00402e4f
test esi, esi
je 0x41dbac
lea eax, [esp + 0x10]
push eax
push 0x400
lea eax, [esp + 0xcc]
push eax
push edi
call dword [0x4896c4]
mov esi, dword [0x489374]
test eax, eax
je 0x41da84
push dword [esp + 0x10]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x9c]
call fcn.004041a0
cmp dword [esp + 0x10], 0
jne 0x41da40
jmp 0x41dafd
call esi
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.0041c5a1
push eax
mov edx, 0x498dd8
mov byte [esp + 0x4dc], 3
lea ecx, [esp + 0x44]
call fcn.004144ee
mov byte [esp + 0x4dc], 4
lea ecx, [esp + 0x5c]
mov edx, eax
mov dword [esp], 0x498c00
call fcn.00414494
pop ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00403f33
xor ebx, ebx
lea ecx, [esp + 0x58]
push ebx
push 1
call fcn.00402e0b
push ebx
push 1
lea ecx, [esp + 0x48]
call fcn.00402e0b
push ebx
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x4e0], 1
call fcn.00402e0b
mov bl, 1
lea eax, [esp + 0x18]
push eax
call fcn.0041c672
cmp eax, 0xffffffff
je 0x41db7e
cmp eax, 0x190
jl 0x41dc29
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.0040531c
push eax
mov edx, 0x498c6c
mov byte [esp + 0x4dc], 7
lea ecx, [esp + 0x5c]
call fcn.004144ee
mov byte [esp + 0x4dc], 8
lea ecx, [esp + 0x74]
mov edx, eax
mov dword [esp], 0x498c00
call fcn.00414494
pop ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00403f33
xor esi, esi
lea ecx, [esp + 0x70]
push esi
push 1
call fcn.00402e0b
push esi
push 1
lea ecx, [esp + 0x60]
call fcn.00402e0b
push esi
jmp 0x41dc14
call esi
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.0041c5a1
push eax
mov edx, 0x498c50
mov byte [esp + 0x4dc], 5
lea ecx, [esp + 0x5c]
call fcn.004144ee
mov byte [esp + 0x4dc], 6
jmp 0x41dbdc
call dword [0x489374]
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.0041c5a1
push eax
mov edx, 0x498df4
mov byte [esp + 0x4dc], 9
lea ecx, [esp + 0x5c]
call fcn.004144ee
mov byte [esp + 0x4dc], 0xa
mov edx, eax
mov dword [esp], 0x498c00
lea ecx, [esp + 0x74]
call fcn.00414494
pop ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00403f33
xor ebx, ebx
lea ecx, [esp + 0x70]
push ebx
push 1
call fcn.00402e0b
push ebx
push 1
lea ecx, [esp + 0x60]
call fcn.00402e0b
push ebx
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x4e0], 1
call fcn.00402e0b
mov bl, 1
push edi
call dword [0x4896ac]
jmp 0x41dc4b
mov esi, 0x498bd8
push esi
call fcn.004028bd
pop ecx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00402e95
mov bl, 1
push dword [esp + 0x20]
call dword [0x4896ac]
jmp 0x41dc70
mov esi, 0x498e18
push esi
call fcn.004028bd
pop ecx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00402e95
mov bl, 1
mov eax, dword [esp + 0x14]
push eax
call dword [0x4896ac]
jmp 0x41dc96
mov esi, 0x498e38
push esi
call fcn.004028bd
pop ecx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00402e95
mov bl, 1
test bl, bl
je 0x41dcb7
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x74]
call fcn.0041c5e8
push 0x4acc60
lea eax, [esp + 0x74]
push eax
call fcn.00465d3e
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x94]
call fcn.004274c7
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00402e0b
push 0
push 1
lea ecx, [esp + 0x9c]
call fcn.00402e0b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.00460e52
mov esp, ebp
pop ebp
ret 0x14