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

Disassembly:
push 0xffffffffffffffff
push 0x4bd32b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a0
mov eax, dword [0x51eea4]
xor eax, dword [esp + 0x4ac]
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x4a8], eax
push edi
mov dword [esp + 0x10], ebx
mov edi, ecx
mov ebp, 0xf
mov eax, str.amp_
mov dword [esp + 0x30], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41d877
sub eax, esi
push eax
push str.amp_
lea ecx, [esp + 0x3c]
call fcn.00402cd0
mov eax, 0x4f3448
mov dword [esp + 0x4b8], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41d8b0
sub eax, esi
push eax
push 0x4f3448
lea ecx, [esp + 0x1c]
call fcn.00402cd0
mov edx, dword [edi]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push ecx
add edx, 0x58
push edx
mov byte [esp + 0x4c4], 1
call fcn.0041c1b0
mov eax, dword [esp + 0x38]
mov edi, 0x10
add esp, 0xc
cmp eax, edi
jb 0x41d902
mov eax, dword [esp + 0x18]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x4b8], 0xffffffff
jb 0x41d92c
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, str.amp_
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41d940
sub eax, edx
push eax
push str.amp_
lea ecx, [esp + 0x3c]
call fcn.00402cd0
mov eax, 0x4f3448
mov dword [esp + 0x4b8], 2
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41d977
sub eax, esi
push eax
push 0x4f3448
lea ecx, [esp + 0x1c]
call fcn.00402cd0
mov esi, dword [esp + 0x30]
mov ecx, dword [esi]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x18]
push eax
add ecx, 0x3c
push ecx
mov byte [esp + 0x4c4], 3
call fcn.0041c1b0
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, edi
jb 0x41d9c8
mov edx, dword [esp + 0x18]
push edx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x4b8], 0xffffffff
jb 0x41d9f2
mov eax, dword [esp + 0x38]
push eax
call fcn.004ade5d
add esp, 4
mov eax, dword [esi]
cmp dword [eax + 0x70], edi
jb 0x41d9fe
mov esi, dword [eax + 0x5c]
jmp 0x41da01
lea esi, [eax + 0x5c]
cmp dword [eax + 0x54], edi
jb 0x41da0b
mov edx, dword [eax + 0x40]
jmp 0x41da0e
lea edx, [eax + 0x40]
cmp dword [eax + 0x28], edi
jb 0x41da18
mov ecx, dword [eax + 0x14]
jmp 0x41da1b
lea ecx, [eax + 0x14]
push esi
fld dword [eax + 0x34]
push edx
movzx edx, byte [eax + 0x38]
push edx
movzx edx, byte [eax + 0xe]
push edx
movzx edx, byte [eax + 0xd]
push edx
movzx edx, byte [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
push edx
movzx edx, byte [eax]
push edx
mov edx, dword [eax + 0x2c]
push edx
sub esp, 0x10
fstp qword [esp + 8]
fld dword [eax + 0x30]
lea eax, [esp + 0xfc]
fstp qword [esp]
push ecx
push str._config__n_t_t_language__s__language__n_t_t_soundvolume__f__soundvolume__n_t_t_musicvolume__f__musicvolume__n_t_t_maxfps__d__maxfps__n_t_t_fullscreen__d__fullscreen__n_t_t_windowwidth__d__windowwidth__n_t_t_windowheight__d__windowheight__n_t_t_systemcursor__d__systemcursor__n_t_t_languagedetected__d__languagedetected__n_t_t_debuginfo__d__debuginfo__n_t_t_needregmsg__d__needregmsg__n_t_t_homelink__s__homelink__n_t_t_orderlink__s__orderlink__n__config__n
push eax
call fcn.004ae68f
push 0x38
call fcn.004ad909
mov esi, eax
add esp, 0x48
mov dword [esp + 0x50], esi
cmp esi, ebx
mov dword [esp + 0x4b8], 4
je 0x41dade
lea ecx, [esp + 0xa8]
push ecx
call fcn.0040d4d0
mov ecx, eax
call fcn.0041c180
push 0x50e4b4
push eax
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0x4c4], 5
mov dword [esp + 0x1c], 1
call fcn.00403020
add esp, 0xc
push 1
push eax
mov ecx, esi
mov dword [esp + 0x4c0], 6
mov dword [esp + 0x18], 3
call fcn.0040c780
mov edi, eax
jmp 0x41dae0
xor edi, edi
cmp edi, ebx
mov dword [esp + 0x50], edi
je 0x41daeb
inc dword [edi + 4]
test byte [esp + 0x10], 2
je 0x41db2e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xa4]
and ecx, 0xfffffffd
cmp eax, 0x10
mov dword [esp + 0x10], ecx
jb 0x41db19
mov eax, dword [esp + 0x90]
push eax
call fcn.004ade5d
add esp, 4
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
test byte [esp + 0x10], 1
mov dword [esp + 0x4b8], 0xa
je 0x41db6f
cmp dword [esp + 0xc0], 0x10
jb 0x41db5a
mov ecx, dword [esp + 0xac]
push ecx
call fcn.004ade5d
add esp, 4
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
lea eax, [esp + 0xc4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41db80
sub eax, edx
mov edx, dword [edi]
push eax
lea eax, [esp + 0xc8]
push eax
mov ecx, edi
call dword [edx + 0xc]
mov eax, 0x4f3448
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dbb0
sub eax, esi
push eax
push 0x4f3448
lea ecx, [esp + 0x3c]
call fcn.00402cd0
mov eax, str.amp_
mov byte [esp + 0x4b8], 0xc
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dbe4
sub eax, esi
push eax
push str.amp_
lea ecx, [esp + 0x1c]
call fcn.00402cd0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
add ecx, 0x58
push ecx
mov byte [esp + 0x4c4], 0xd
call fcn.0041c1b0
mov eax, dword [esp + 0x38]
mov esi, 0x10
add esp, 0xc
cmp eax, esi
jb 0x41dc3a
mov edx, dword [esp + 0x18]
push edx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0x4b8], 0xa
jb 0x41dc61
mov eax, dword [esp + 0x38]
push eax
call fcn.004ade5d
add esp, 4
mov eax, 0x4f3448
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
lea edx, [eax + 1]
jmp 0x41dc80
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dc80
sub eax, edx
push eax
push 0x4f3448
lea ecx, [esp + 0x78]
call fcn.00402cd0
mov eax, str.amp_
mov byte [esp + 0x4b8], 0xe
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dcb4
sub eax, esi
push eax
push str.amp_
lea ecx, [esp + 0x5c]
call fcn.00402cd0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
add ecx, 0x3c
push ecx
mov byte [esp + 0x4c4], 0xf
call fcn.0041c1b0
mov eax, dword [esp + 0x78]
mov esi, 0x10
add esp, 0xc
cmp eax, esi
jb 0x41dd0a
mov edx, dword [esp + 0x58]
push edx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x41dd2c
mov eax, dword [esp + 0x74]
push eax
call fcn.004ade5d
add esp, 4
mov eax, dword [edi + 4]
dec eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0x4b8], 0xffffffff
mov dword [edi + 4], eax
jne 0x41dd5a
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [esp + 0x4b0]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4a4]
xor ecx, dword [esp + 0x4b4]
pop ebp
pop ebx
add esp, 0x4ac
jmp fcn.004ae650