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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45ed7f
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x472100]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x2c]
call fcn.00406a70
mov dword [esp + 0x70], 0
mov ebx, dword [esp + 0x2c]
push ebx
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x456cde
movzx ecx, word [ebx]
cmp cx, 0x58
jne 0x456a56
mov ecx, 1
cmp eax, ecx
jge 0x4569fe
test eax, eax
mov ecx, eax
jle 0x456a18
mov esi, eax
sub esi, ecx
lea eax, [esi + esi + 2]
push eax
lea ecx, [ebx + ecx*2]
push ecx
push ebx
call fcn.00412e30
add esp, 0xc
mov dword [esp + 0x30], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add eax, 0x3c
push eax
lea ecx, [esp + 0x30]
mov dword [eax], 9
call fcn.00455310
add esp, 4
push ebx
mov esi, eax
call fcn.00410615
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
cmp cx, 0x53
jne 0x456af8
mov ecx, 1
cmp eax, ecx
jge 0x456a6f
test eax, eax
mov ecx, eax
jle 0x456a8d
mov esi, eax
sub esi, ecx
lea edx, [esi + esi + 2]
push edx
lea eax, [ebx + ecx*2]
push eax
push ebx
call fcn.00412e30
mov eax, esi
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
jne 0x456abd
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push ecx
call fcn.004559a0
push ebx
mov esi, eax
call fcn.00410615
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 edx, dword [ebp + 0xc]
cmp word [edx], 0
jne 0x456cde
mov esi, dword [ebp + 8]
lea eax, [esp + 0x2c]
call fcn.004557e0
push ebx
mov esi, eax
call fcn.00410615
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, 0x466c48
mov edx, ebx
call fcn.00442b50
test eax, eax
jne 0x456b56
mov edi, dword [ebp + 8]
add edi, 4
mov eax, 3
lea esi, [esp + 0x2c]
mov dword [edi], 4
call fcn.00408070
mov edx, dword [ebp + 0xc]
push edi
mov ecx, esi
call fcn.00455310
mov esi, eax
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00410615
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
lea edi, [esp + 0x14]
lea eax, [esp + 0x2c]
call fcn.004552d0
lea esi, [esp + 0x20]
lea edx, [esp + 0x2c]
mov edi, eax
call fcn.00408030
test edi, edi
mov byte [esp + 0x70], 1
jne 0x456dd9
lea ecx, [edi + 2]
lea esi, [esp + 0x38]
lea edx, [esp + 0x2c]
call fcn.00408050
mov ecx, dword [eax]
push 0x466c50
push ecx
call fcn.00442b90
mov edx, dword [esp + 0x40]
test eax, eax
push edx
sete byte [esp + 0x1f]
call fcn.00410615
add esp, 0xc
cmp byte [esp + 0x13], 0
je 0x456bf9
lea eax, [edi + 2]
lea esi, [esp + 0x38]
lea edx, [esp + 0x2c]
call fcn.00408030
mov ecx, dword [ebp + 8]
push ecx
mov byte [esp + 0x74], 2
mov ecx, dword [ecx + 0x48]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00455660
mov edx, dword [esp + 0x40]
push edx
mov esi, eax
call fcn.00410615
add esp, 0xc
test esi, esi
jne 0x456c44
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x4570a6
push str.RSFX
push ebx
call fcn.00442b90
add esp, 8
test eax, eax
jne 0x456c22
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x1c
call fcn.00455500
mov esi, eax
mov edx, dword [esp + 0x20]
push edx
jmp 0x456c49
push 0x466c64
push ebx
call fcn.00442b90
add esp, 8
test eax, eax
jne 0x456c71
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [ebp + 0xc]
call fcn.00455500
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00410615
add esp, 4
push ebx
call fcn.00410615
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
push 0x466c68
push ebx
call fcn.00442b90
add esp, 8
test eax, eax
jne 0x456c9a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x32
call fcn.00455500
mov ecx, dword [esp + 0x20]
mov esi, eax
push ecx
jmp 0x456c49
push 0x466c70
push ebx
call fcn.00442b90
add esp, 8
test eax, eax
jne 0x456d01
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 1
call fcn.00455500
mov esi, eax
test esi, esi
jne 0x456c1b
cmp byte [esp + 0x13], al
jne 0x456bef
mov eax, dword [esp + 0x20]
push eax
call fcn.00410615
add esp, 4
push ebx
call fcn.00410615
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
push 0x466c78
push ebx
call fcn.00442b90
add esp, 8
test eax, eax
jne 0x456d34
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x34]
call fcn.00455500
mov esi, eax
test esi, esi
jne 0x456c1b
mov byte [edi + 0x33], 1
jmp 0x4570a1
push 0x466c80
push ebx
call fcn.00442b90
add esp, 8
test eax, eax
jne 0x456d60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x35
call fcn.00455500
mov ecx, dword [esp + 0x20]
mov esi, eax
push ecx
jmp 0x456c49
push 0x466c88
push ebx
call fcn.00442b90
add esp, 8
test eax, eax
jne 0x456d8c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x36
call fcn.00455500
mov edx, dword [esp + 0x20]
mov esi, eax
push edx
jmp 0x456c49
push 0x466c90
push ebx
call fcn.00442b90
add esp, 8
test eax, eax
jne 0x456da9
mov eax, dword [ebp + 8]
add eax, 0x37
jmp 0x456c3a
push 0x466c98
push ebx
call fcn.00442b90
add esp, 8
test eax, eax
jne 0x456dd5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x40
call fcn.00455500
mov ecx, dword [esp + 0x20]
mov esi, eax
push ecx
jmp 0x456c49
xor edi, edi
jmp 0x456e17
cmp dword [esp + 0x14], 0x2710
jbe 0x456e13
mov edx, dword [esp + 0x20]
push edx
call fcn.00410615
add esp, 4
push ebx
call fcn.00410615
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 ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x44]
cmp edi, eax
jb 0x456cd1
sub edi, eax
mov eax, dword [ecx + 0x10]
cmp eax, edi
mov dword [esp + 0x14], edi
jg 0x456e83
mov esi, edi
sub esi, eax
add esi, 1
lea esp, [esp]
lea ecx, [esp + 0x44]
push ecx
call fcn.00407c50
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x44]
push edx
add ecx, 8
mov byte [esp + 0x74], 3
call fcn.004080a0
mov byte [esp + 0x70], 1
mov eax, dword [esp + 0x58]
push eax
call fcn.00410615
add esp, 4
lea ecx, [esp + 0x44]
push ecx
call fcn.00407ce0
sub esi, 1
jne 0x456e40
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov esi, dword [edx + edi*4]
xor edi, edi
cmp dword [esp + 0x24], edi
mov dword [esp + 0x1c], esi
jne 0x456eec
mov eax, dword [ebp + 0xc]
cmp word [eax], 8
jne 0x456cd1
mov ebx, dword [eax + 8]
lea eax, [esp + 0x38]
call fcn.00406a70
lea ecx, [esp + 0x38]
push ecx
push esi
mov byte [esp + 0x78], 4
call fcn.004567f0
mov edx, dword [esp + 0x38]
push edx
mov esi, eax
call fcn.00410615
add esp, 4
test esi, esi
je 0x45709d
mov eax, dword [esp + 0x20]
push eax
call fcn.00410615
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
jmp 0x456c52
lea edx, [esp + 0x20]
push edx
call fcn.00455e30
add esp, 4
cmp eax, edi
jl 0x456cd1
lea eax, [eax + eax*2]
lea eax, [eax*4 + 0x4737f0]
mov word [esp + 0x4c], di
mov word [esp + 0x4e], di
mov byte [esp + 0x70], 5
mov ecx, dword [eax]
cmp ecx, 4
mov dword [esp + 0x44], ecx
je 0x45700d
cmp ecx, 1
je 0x45700d
cmp ecx, 2
je 0x45700d
lea ebx, [esp + 0x20]
call fcn.00455f70
test eax, eax
jge 0x456f85
lea eax, [esp + 0x4c]
call fcn.0042dac0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00410615
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.00410615
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 [ebp + 0xc]
mov esi, dword [ecx]
lea edx, [eax + eax*2]
mov eax, dword [edx*4 + 0x4737f0]
lea edx, [edx*4 + 0x4737f0]
mov dword [esp + 0x44], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ecx + 4]
mov dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ax, word [edx + 4]
lea ecx, [esp + 0x5c]
call fcn.00456010
add esp, 0x10
test al, al
jne 0x457080
lea eax, [esp + 0x4c]
call fcn.0042dac0
mov edx, dword [esp + 0x20]
push edx
call fcn.00410615
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00410615
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 [eax + 8]
call fcn.00406420
lea esi, [esp + 0x38]
lea edx, [esp + 0x20]
call fcn.00408030
mov ecx, dword [ebp + 0xc]
push eax
lea edx, [esp + 0x1c]
mov byte [esp + 0x74], 6
call fcn.00455580
mov byte [esp + 0x74], 5
mov ecx, dword [esp + 0x3c]
add esp, 4
push ecx
mov esi, eax
call fcn.00410615
add esp, 4
cmp esi, edi
je 0x457062
lea eax, [esp + 0x4c]
call fcn.0042dac0
mov edx, dword [esp + 0x20]
push edx
jmp 0x456c49
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x4c]
call fcn.0042dd10
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
cmp ecx, dword [eax + 0x50]
ja 0x457084
mov dword [eax + 0x4c], edi
jmp 0x457084
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
call fcn.00407d70
lea eax, [esp + 0x4c]
call fcn.0042dac0
jmp 0x4570a1
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
push eax
call fcn.00410615
add esp, 4
push ebx
call fcn.00410615
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