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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50773a
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push eax
lea esi, [esp + 0x24]
call fcn.00403570
mov dword [esp + 0x70], 0
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41d9c4
movzx ecx, word [esi]
cmp ecx, 0x58
jne 0x41d762
mov ecx, 1
cmp eax, ecx
jge 0x41d711
mov ecx, eax
test eax, eax
jle 0x41d72b
mov edi, eax
sub edi, ecx
lea edx, [edi + edi + 2]
push edx
lea eax, [esi + ecx*2]
push eax
push esi
call fcn.004e4dd0
add esp, 0xc
mov dword [esp + 0x24], edi
mov ecx, dword [ebp + 0xc]
add ebx, 0x3c
lea edi, [esp + 0x20]
mov dword [ebx], 9
call fcn.0041e3b0
push esi
mov edi, eax
call fcn.004e4db0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0x53
jne 0x41d7ee
lea eax, [ecx - 0x52]
xor ecx, ecx
lea esi, [esp + 0x20]
call fcn.0040d830
cmp dword [esp + 0x24], 0
jne 0x41d7b1
mov ecx, dword [ebp + 0xc]
push ecx
mov edi, ebx
call fcn.0041d510
mov esi, eax
mov edx, dword [esp + 0x20]
push edx
call fcn.004e4db0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x41d7e1
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004e4db0
add esp, 4
mov eax, 0x80070057
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x20]
mov esi, ebx
call fcn.0041d3c0
jmp 0x41d78b
mov eax, 0x51a270
mov edx, esi
call fcn.00446f60
test eax, eax
jne 0x41d82d
add ebx, 4
mov eax, 3
xor ecx, ecx
lea esi, [esp + 0x20]
mov dword [ebx], 4
call fcn.0040d830
mov ecx, dword [ebp + 0xc]
mov edi, esi
call fcn.0041e3b0
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
jmp 0x41d792
lea edi, [esp + 0x14]
lea eax, [esp + 0x20]
call fcn.0041e6d0
lea esi, [esp + 0x2c]
lea edx, [esp + 0x20]
mov edi, eax
call fcn.004199a0
mov byte [esp + 0x70], 1
test edi, edi
jne 0x41dac4
lea ecx, [edi + 2]
lea esi, [esp + 0x38]
lea eax, [esp + 0x20]
call fcn.0041dd60
mov ecx, dword [eax]
push 0x51a278
call fcn.00446fa0
mov ecx, dword [esp + 0x3c]
add esp, 4
test eax, eax
push ecx
sete byte [esp + 0x17]
call fcn.004e4db0
add esp, 4
cmp byte [esp + 0x13], 0
je 0x41d8e4
lea eax, [edi + 2]
lea esi, [esp + 0x38]
lea edx, [esp + 0x20]
call fcn.004199a0
mov ecx, dword [ebp + 0xc]
mov byte [esp + 0x70], 2
mov edx, dword [ebx + 0x48]
push edx
mov edi, eax
call fcn.0041e710
mov esi, eax
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
call fcn.004e4db0
add esp, 4
test esi, esi
jne 0x41dce4
mov eax, dword [esp + 0x2c]
push eax
call fcn.004e4db0
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
jmp 0x41dd3e
mov esi, dword [esp + 0x20]
push str.RSFX
mov ecx, esi
call fcn.00446fa0
add esp, 4
test eax, eax
jne 0x41d935
lea eax, [ebx + 0x1c]
mov ecx, dword [ebp + 0xc]
call fcn.0041e650
mov edi, eax
mov edx, dword [esp + 0x2c]
push edx
call fcn.004e4db0
add esp, 4
push esi
call fcn.004e4db0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x51a28c
mov ecx, esi
call fcn.00446fa0
add esp, 4
test eax, eax
jne 0x41d95c
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0x38]
call fcn.0041e650
mov edi, eax
mov eax, dword [esp + 0x2c]
push eax
jmp 0x41d90d
push 0x51a290
mov ecx, esi
call fcn.00446fa0
add esp, 4
test eax, eax
jne 0x41d983
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0x32]
call fcn.0041e650
mov ecx, dword [esp + 0x2c]
mov edi, eax
push ecx
jmp 0x41d90d
push 0x51a298
mov ecx, esi
call fcn.00446fa0
add esp, 4
test eax, eax
jne 0x41d9f1
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 1
call fcn.0041e650
mov edi, eax
test edi, edi
jne 0x41d908
cmp byte [esp + 0x13], al
jne 0x41d9e7
mov eax, dword [esp + 0x2c]
push eax
call fcn.004e4db0
add esp, 4
push esi
call fcn.004e4db0
add esp, 4
mov eax, 0x80070057
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x2c]
push ecx
jmp 0x41dd35
push 0x51a2a0
mov ecx, esi
call fcn.00446fa0
add esp, 4
test eax, eax
jne 0x41da27
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0x34]
call fcn.0041e650
mov edi, eax
test edi, edi
jne 0x41d908
mov eax, dword [esp + 0x2c]
mov byte [ebx + 0x33], 1
push eax
jmp 0x41dd35
push 0x51a2a8
mov ecx, esi
call fcn.00446fa0
add esp, 4
test eax, eax
jne 0x41da51
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0x35]
call fcn.0041e650
mov ecx, dword [esp + 0x2c]
mov edi, eax
push ecx
jmp 0x41d90d
push 0x51a2b0
mov ecx, esi
call fcn.00446fa0
add esp, 4
test eax, eax
jne 0x41da6c
lea eax, [ebx + 0x36]
jmp 0x41d8fe
push 0x51a2b8
mov ecx, esi
call fcn.00446fa0
add esp, 4
test eax, eax
jne 0x41da96
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0x37]
call fcn.0041e650
mov edi, eax
mov eax, dword [esp + 0x2c]
push eax
jmp 0x41d90d
push 0x51a2c0
mov ecx, esi
call fcn.00446fa0
add esp, 4
test eax, eax
jne 0x41dac0
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0x40]
call fcn.0041e650
mov ecx, dword [esp + 0x2c]
mov edi, eax
push ecx
jmp 0x41d90d
xor edi, edi
jmp 0x41db0a
cmp dword [esp + 0x14], 0x2710
jbe 0x41db02
mov edx, dword [esp + 0x2c]
push edx
call fcn.004e4db0
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.004e4db0
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 0x44]
cmp edi, eax
jb 0x41dc25
sub edi, eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x14], edi
cmp eax, edi
jg 0x41db61
mov esi, edi
sub esi, eax
inc esi
jmp 0x41db30
lea edx, [esp + 0x44]
push edx
call fcn.0040c0f0
lea ecx, [esp + 0x44]
lea edx, [ebx + 8]
mov byte [esp + 0x70], 3
call fcn.0040d870
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x74], 1
call fcn.0040b9f0
dec esi
jne 0x41db30
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x30], 0
mov ecx, dword [ebx + 0x14]
mov edi, dword [ecx + edi*4]
mov dword [esp + 0x1c], edi
jne 0x41dbc8
mov eax, dword [ebp + 0xc]
cmp word [eax], 8
jne 0x41dc83
mov eax, dword [eax + 8]
push eax
lea esi, [esp + 0x3c]
call fcn.00403570
mov ecx, esi
push ecx
push edi
mov byte [esp + 0x78], 4
call fcn.0041d210
mov edx, dword [esp + 0x38]
push edx
mov esi, eax
call fcn.004e4db0
add esp, 4
test esi, esi
je 0x41dd2c
mov eax, dword [esp + 0x2c]
push eax
call fcn.004e4db0
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
jmp 0x41d792
lea edx, [esp + 0x2c]
push edx
call fcn.0041c0b0
add esp, 4
test eax, eax
js 0x41d9b7
lea ecx, [eax + eax*2]
xor edx, edx
lea ecx, [ecx*4 + 0x554648]
mov dword [esp + 0x4c], edx
mov byte [esp + 0x70], 5
mov eax, dword [ecx]
mov dword [esp + 0x44], eax
cmp eax, 4
je 0x41dc8d
cmp eax, 1
je 0x41dc8d
cmp eax, 2
je 0x41dc8d
lea ebx, [esp + 0x2c]
call fcn.0041c070
test eax, eax
jns 0x41dc2f
lea eax, [esp + 0x44]
call fcn.00406fb0
mov ecx, dword [esp + 0x2c]
push ecx
jmp 0x41d9bc
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx]
lea edx, [eax + eax*2]
mov eax, dword [edx*4 + 0x554648]
lea edx, [edx*4 + 0x554648]
mov dword [esp + 0x44], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov ax, word [edx + 4]
lea ecx, [esp + 0x5c]
call fcn.0041bff0
add esp, 0x10
test al, al
jne 0x41dd13
lea eax, [esp + 0x44]
call fcn.00406fb0
mov edx, dword [esp + 0x2c]
push edx
jmp 0x41d9bc
mov ecx, dword [ecx + 8]
xor eax, eax
cmp word [ecx], ax
je 0x41dca1
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x41dc97
lea esi, [esp + 0x38]
lea edx, [esp + 0x2c]
call fcn.004199a0
mov ecx, dword [ebp + 0xc]
push eax
lea edx, [esp + 0x1c]
mov byte [esp + 0x74], 6
call fcn.0041e510
mov esi, eax
mov byte [esp + 0x74], 5
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
call fcn.004e4db0
add esp, 4
test esi, esi
je 0x41dcf6
lea eax, [esp + 0x44]
call fcn.00406fb0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004e4db0
add esp, 4
jmp 0x41d78d
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x4c]
call fcn.0044a4d0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
cmp eax, dword [ebx + 0x50]
ja 0x41dd13
mov dword [ebx + 0x4c], edi
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
call fcn.00407270
lea eax, [esp + 0x44]
call fcn.00406fb0
jmp 0x41dd30
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
push edx
call fcn.004e4db0
add esp, 4
push esi
call fcn.004e4db0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8