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

Disassembly:
push 0xffffffffffffffff
push 0x493792
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x28]
push ebx
mov dword [esp + 0x120], ebx
call fcn.00431a20
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x120], 1
call fcn.00431a20
push ebx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x120], 2
call fcn.00431a20
push ebx
lea ecx, [esp + 0x108]
mov byte [esp + 0x120], 3
call fcn.00431a20
lea ecx, [esp + 0x4c]
mov byte [esp + 0x11c], 4
call fcn.0042c2e0
mov eax, dword [0x4be818]
mov dword [esp + 0x10], eax
push ebx
lea ecx, [esp + 0x128]
mov byte [esp + 0x120], 6
call fcn.00484863
mov cl, byte [esp + 0x17]
mov esi, eax
mov byte [esp + 0x18], cl
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.0041d200
test al, al
je 0x410370
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x128], 7
call fcn.0042c370
and eax, 0xff
mov byte [esp + 0x11c], 6
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4103c1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4103b8
cmp al, 0xff
je 0x4103b8
dec al
mov byte [ecx], al
jmp 0x4103c1
push ecx
call fcn.004849c1
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x128]
call fcn.004848b2
cmp esi, ebx
je 0x4108c1
lea ecx, [esp + 0x28]
call fcn.004321c0
cmp eax, 6
jne 0x4108c1
mov esi, dword [esp + 0x128]
mov eax, dword [esi]
cmp eax, ebx
je 0x410418
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x410a30
push ecx
push 0x10
push eax
call fcn.0046f8b6
push edi
call fcn.004849c1
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esp + 0x28]
xor ebp, ebp
call fcn.00432cb0
test eax, eax
jbe 0x41048d
push ebp
lea ecx, [esp + 0x2c]
call fcn.00432d60
push eax
lea ecx, [esp + 0x3c]
call fcn.004320c0
push 0x4ba748
lea ecx, [esp + 0x3c]
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
push 0x4ba740
call fcn.00432ed0
push eax
call fcn.0040ab30
mov ecx, dword [esi + 4]
add esp, 4
cmp edi, ecx
jbe 0x41047f
cmp edi, 0x64
jae 0x41047f
cmp eax, 3
jne 0x41047f
mov dword [esi + 4], edi
lea ecx, [esp + 0x28]
inc ebp
call fcn.00432cb0
cmp ebp, eax
jb 0x410427
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4107df
lea edi, [eax + 1]
mov edx, edi
mov dword [esi + 4], edi
shl edx, 4
add edx, 4
push edx
call fcn.00484998
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov byte [esp + 0x11c], 0xb
je 0x4104d9
push 0x410a30
push 0x410a20
lea ebp, [eax + 4]
push edi
push 0x10
push ebp
mov dword [eax], edi
call fcn.0046f834
jmp 0x4104db
xor ebp, ebp
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, ebx
mov byte [esp + 0x11c], 6
mov dword [esi], ebp
jle 0x41050c
xor eax, eax
mov edx, dword [esi]
inc ecx
mov dword [edx + eax], ebx
mov edx, dword [esi]
mov dword [edx + eax + 8], ebx
mov edx, dword [esi]
mov dword [edx + eax + 0xc], ebx
mov edx, dword [esi + 4]
add eax, 0x10
cmp ecx, edx
jl 0x4104f0
lea ecx, [esp + 0x28]
xor ebp, ebp
call fcn.00432cb0
test eax, eax
jbe 0x4105ec
mov bl, 0xf
push ebp
lea ecx, [esp + 0x2c]
call fcn.00432d60
push eax
lea ecx, [esp + 0x3c]
call fcn.004320c0
push 0x4ba748
lea ecx, [esp + 0x3c]
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
push 0x4ba740
call fcn.00432ed0
push eax
call fcn.0040ab30
add esp, 4
cmp edi, 0x64
jae 0x4105d8
cmp eax, 3
jne 0x4105d8
mov eax, dword [esi]
push 0x4ba738
shl edi, 4
lea ecx, [esp + 0x3c]
mov dword [edi + eax], 1
call fcn.00432ed0
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.0040ac10
add esp, 8
mov edx, dword [esi]
push eax
mov byte [esp + 0x120], bl
lea ecx, [edi + edx + 4]
call fcn.0048456c
lea ecx, [esp + 0x48]
mov byte [esp + 0x11c], 6
call fcn.00484433
push str.effect
lea ecx, [esp + 0x3c]
call fcn.00432ed0
push eax
call fcn.0040ab30
mov ecx, dword [esi]
add esp, 4
mov dword [edi + ecx + 8], eax
lea ecx, [esp + 0x28]
inc ebp
call fcn.00432cb0
cmp ebp, eax
jb 0x410521
xor ebx, ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.00484433
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0x12
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0x11
call fcn.0041cfc0
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 0x10
cmp eax, ebx
je 0x41068a
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.0041d570
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x410678
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x410681
lea ecx, [esp + 0x7c]
call fcn.0041d320
cmp dword [esp + 0xa8], ebx
jne 0x41063c
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x410774
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x4106c2
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x41076a
mov ecx, dword [esp + 0x5c]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x5c], ecx
mov eax, dword [eax]
push eax
call fcn.004849c1
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, ebx
jne 0x41072a
lea ecx, [esp + 0x18]
call fcn.0041d4b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
push ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
call fcn.004849c1
add esp, 4
jmp 0x41076a
mov eax, dword [esp + 0x5c]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xec]
call fcn.0041d4c0
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
cmp dword [esp + 0x78], ebx
jne 0x41069e
lea ecx, [esp + 0x104]
mov byte [esp + 0x11c], 3
call fcn.00431f40
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 2
call fcn.00431f40
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 1
call fcn.00431f40
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0
call fcn.00431f40
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00484433
mov eax, 1
jmp 0x410a01
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.00484433
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0xe
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0xd
call fcn.0041cfc0
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 0xc
cmp eax, ebx
je 0x41087d
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.0041d570
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x41086b
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jne 0x410874
lea ecx, [esp + 0x7c]
call fcn.0041d320
cmp dword [esp + 0xa8], ebx
jne 0x41082f
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x41099e
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x4108ad
cmp ecx, dword [esp + 0x54]
jne 0x4108b6
lea ecx, [esp + 0x4c]
call fcn.0041d320
cmp dword [esp + 0x78], ebx
jne 0x410891
jmp 0x41099e
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.00484433
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0xa
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 9
call fcn.0041cfc0
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 8
cmp eax, ebx
je 0x41095f
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.0041d570
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x41094d
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x410956
lea ecx, [esp + 0x7c]
call fcn.0041d320
cmp dword [esp + 0xa8], ebx
jne 0x410911
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x41099e
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x41098f
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x410998
lea ecx, [esp + 0x4c]
call fcn.0041d320
cmp dword [esp + 0x78], ebx
jne 0x41096f
lea ecx, [esp + 0x104]
mov byte [esp + 0x11c], 3
call fcn.00431f40
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 2
call fcn.00431f40
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 1
call fcn.00431f40
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0
call fcn.00431f40
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00484433
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 8