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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461421
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
push esi
push edi
mov eax, dword [0x47d744]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], str.accHelp
lea ecx, [esp + 0x5c]
mov dword [esp + 0x160], edi
call fcn.00425273
push edi
mov byte [esp + 0x164], 1
call dword [0x463114]
push eax
lea ecx, [esp + 0x60]
call fcn.004256f9
cmp dword [ebp + 0x10], edi
je 0x41ce73
test byte [ebp + 0xc], 1
je 0x41ce6b
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x68]
jmp 0x41ce92
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x60]
jmp 0x41ce92
mov eax, dword [ebp + 8]
cmp dword [eax + 0x70], edi
je 0x41ce8f
mov ecx, dword [eax + 0x64]
cmp ecx, edi
je 0x41ce8f
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0040cd20
jmp 0x41ceaf
mov esi, dword [eax + 0x5c]
call fcn.00427827
mov eax, dword [eax + 0xc]
movzx ecx, si
push ecx
push eax
call dword [0x463624]
push eax
lea ecx, [esp + 0x24]
call fcn.004259cb
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
push edx
push eax
call fcn.00425a5a
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0x2c], eax
xor eax, eax
push 0x18
push edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
call dword [0x463100]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
push 0xc4
lea ecx, [esp + 0x94]
push edi
push ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], eax
call fcn.00446d10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x54]
mov edi, esi
lea ecx, [eax + eax]
sub edi, ecx
mov ecx, dword [edx + 0x58]
mov dword [esp + 0x28], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0xc0], edi
mov edi, dword [esp + 0x88]
sub edi, ecx
mov edx, esi
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esp + 0xcc], edi
mov edi, dword [esp + 0x88]
sub esi, eax
mov dword [esp + 0xd4], edi
mov edi, dword [ebp + 0x24]
sub edi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xe0], esi
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x24], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe4], esi
mov esi, dword [esp + 0x88]
sub edx, eax
lea edi, [ecx + ecx]
add esp, 0xc
sub esi, edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], ecx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x100], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x114], edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x118], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x11c], edi
mov edi, dword [ebp + 0x20]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x124], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x134], eax
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], ecx
mov dword [esp + 0x120], ecx
mov dword [esp + 0x128], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x130], esi
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x148], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14c], eax
xor eax, eax
lea esi, [esp + 0x8c]
mov dword [esp + 0x12c], edi
mov dword [esp + 0x140], edx
mov dword [esp + 0x150], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
lea ecx, [ecx]
mov edx, dword [ebp + 8]
cmp dword [edx + 0x6c], 0
mov ecx, 0xa
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
jne 0x41d214
test eax, eax
je 0x41d1ca
cmp eax, 1
je 0x41d1ca
cmp eax, 2
je 0x41d181
cmp eax, 3
je 0x41d181
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
push 0xcc0020
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x64]
push ecx
sub edx, eax
push edx
jmp 0x41d23d
mov esi, dword [esp + 0x50]
cmp esi, dword [esp + 0x58]
jg 0x41d258
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x60]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [ebx + 4]
push edi
push ecx
push esi
push edx
push eax
call dword [0x46310c]
add esi, edi
cmp esi, dword [esp + 0x58]
jle 0x41d193
jmp 0x41d254
mov esi, dword [esp + 0x4c]
cmp esi, dword [esp + 0x54]
jg 0x41d258
mov edi, dword [esp + 0x34]
lea esp, [esp]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x60]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [ebx + 4]
push ecx
push edi
push edx
push esi
push eax
call dword [0x46310c]
add esi, edi
cmp esi, dword [esp + 0x54]
jle 0x41d1e0
jmp 0x41d254
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [0x4630e8]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
inc eax
add esi, 0x28
cmp eax, 5
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
jl 0x41d120
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x60]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [ebx + 4]
push ecx
push 0
push 0
push eax
call dword [0x46310c]
mov eax, dword [esi + 0x54]
mov edi, dword [esp + 0x6c]
mov edx, dword [ebp + 0x20]
push 0xcc0020
push 0
mov ecx, edi
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esi + 0x58]
push ecx
push eax
sub edx, eax
push 0
push edx
mov edx, dword [ebx + 4]
push edx
call dword [0x46310c]
mov eax, dword [esi + 0x58]
mov ecx, dword [esp + 0x70]
mov edx, dword [ebp + 0x24]
push 0xcc0020
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x68]
push 0
push ecx
push eax
sub edx, eax
mov eax, dword [esi + 0x54]
push eax
push edx
mov edx, dword [ebx + 4]
push 0
push edx
call dword [0x46310c]
mov eax, dword [esi + 0x58]
mov ecx, dword [esp + 0x70]
mov edx, dword [ebp + 0x24]
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x54]
sub edi, ecx
mov dword [esp + 0x10], edi
mov edi, dword [ebp + 0x20]
sub edi, ecx
push 0xcc0020
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x6c]
push edi
push eax
push ecx
mov ecx, dword [ebx + 4]
sub edx, eax
mov eax, dword [esp + 0x30]
push edx
push eax
push ecx
call dword [0x46310c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41d349
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x60]
push eax
push edx
call fcn.00425a5a
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0x466288
push 0
push 0
mov byte [esp + 0x168], 2
mov eax, dword [esi + 0x20]
push 0x31
push eax
call dword [0x4635a8]
push eax
lea ecx, [esp + 0x30]
call fcn.004259cb
mov edx, dword [ebx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call edx
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
push 0x46b93f
push eax
call fcn.00444028
add esp, 8
test eax, eax
setne al
test al, al
je 0x41d456
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x10]
push edx
push ecx
push eax
mov eax, dword [ebx + 8]
push eax
call dword [0x4630a4]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x1c]
lea eax, [edx + ecx]
cdq
sub eax, edx
mov edx, dword [ebp + 0x18]
mov ecx, eax
mov eax, dword [ebp + 0x20]
add eax, edx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
test byte [ebp + 0xc], 1
mov edi, ecx
je 0x41d40f
inc esi
lea edi, [ecx + 1]
push 1
mov ecx, ebx
call fcn.004250a1
test byte [ebp + 0xc], 4
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
je 0x41d432
push 0x22
jmp 0x41d434
push 2
push edx
mov edx, dword [esp + 0x18]
push edx
push edi
push esi
push 0
push eax
push 0
push 0
push ecx
call dword [0x46352c]
mov eax, dword [esp + 0x28]
push eax
mov ecx, ebx
call fcn.004250a1
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x28]
push eax
mov ecx, ebx
call edx
lea ecx, [esp + 0x2c]
call fcn.004259f7
mov byte [esp + 0x160], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x466288
call fcn.0040a670
lea ecx, [esp + 0x5c]
mov byte [esp + 0x160], 0
call fcn.00425778
mov dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], str.accHelp
call fcn.0040a670
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20