Function at 0x457340
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x478b3c
mov eax, dword fs:[0]
push eax
sub esp, 0xfd8
mov eax, dword [0x4951c0]
xor eax, esp
mov dword [esp + 0xfd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4951c0]
xor eax, esp
push eax
lea eax, [esp + 0xfec]
mov dword fs:[0], eax
mov edi, dword [esp + 0x100c]
mov eax, dword [esp + 0x1000]
mov ebp, dword [esp + 0xffc]
lea ecx, [esp + 0x42c]
mov dword [esp + 0x84], ebp
sub ecx, eax
mov esi, 1
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, esi
test dl, dl
jne 0x4573a5
mov eax, dword [ebp + 0x264]
cdq
idiv dword [ebp + 0x284]
mov dword [esp + 0x58], eax
cmp dword [ebp + 0x278], esi
jne 0x4573d2
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x58], eax
lea eax, [eax + eax*2]
mov ecx, dword [ebp + 0x268]
lea eax, [eax*8 + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
xor ebx, ebx
sar eax, 2
add eax, eax
add eax, eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x2e8], ebx
mov dword [esp + 0x298], esi
mov dword [esp + 0x294], ebx
mov dword [esp + 0x308], ebx
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x310], 0xffffffff
mov dword [esp + 0x30c], 3
mov dword [esp + 0x314], ebx
mov dword [esp + 0x318], esi
mov dword [esp + 0x31c], ebx
mov dword [esp + 0x324], ebx
mov dword [esp + 0x320], ebx
mov byte [esp + 0x94], bl
lea esi, [esp + 0x94]
mov dword [esp + 0xff4], ebx
call fcn.004011a0
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x1008]
mov dword [esp + 0x2ac], eax
lea esi, [edi + edi*2]
lea ecx, [ecx + ecx*2]
mov eax, esi
lea ebx, [esp + 0x2b0]
mov dword [esp + 0x88], ecx
call fcn.00469800
mov edx, dword [esp + 0x2f4]
mov eax, dword [esp + 0x2ac]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x2ac]
push 0xffffff
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x2ac]
push 2
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x2ac]
push 0
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp dword [esp + 0x1024], 3
mov dword [esp + 0x3c], 0
jne 0x457521
mov ecx, dword [esp + 0x1008]
imul ecx, edi
add ecx, ecx
add ecx, ecx
push ecx
call fcn.004082ac
add esp, 4
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x1004]
cmp ecx, 0xffffffff
jne 0x45755f
cmp dword [esp + 0x1024], 3
je 0x45755f
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x58]
xor ebx, ebx
push edx
push eax
push ebx
push ebx
mov eax, 0xffffff
mov edi, ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], ebx
call fcn.00401f90
jmp 0x4575a9
mov eax, ecx
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
and ecx, 0x8000ffff
mov dword [esp + 0x4c], eax
jns 0x457581
dec ecx
or ecx, 0xffff0000
inc ecx
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + 0x54], eax
mov eax, ecx
and eax, 0x800000ff
jns 0x4575a3
dec eax
or eax, 0xffffff00
inc eax
mov dword [esp + 0x50], eax
xor ebx, ebx
mov eax, dword [esp + 0x1020]
lea edx, [esp + 0x32c]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4575c0
mov eax, dword [esp + 0x1018]
mov edi, dword [esp + 0x1024]
neg eax
sbb eax, eax
and eax, 0x2bc
cmp edi, 1
je 0x457624
cmp edi, 2
je 0x457624
cmp edi, 3
je 0x45765f
lea ecx, [esp + 0x32c]
push ecx
push 1
push ebx
push ebx
push ebx
push 0x80
push ebx
push ebx
push ebx
push eax
mov eax, dword [esp + 0xb0]
cdq
push ebx
sub eax, edx
push ebx
sar eax, 1
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateFontA]
mov esi, eax
mov dword [esp + 0x74], esi
jmp 0x457663
lea edx, [esp + 0x32c]
push edx
push 1
push ebx
push ebx
push ebx
push 0x80
push ebx
push ebx
push ebx
push eax
mov eax, dword [esp + 0x1030]
cdq
push ebx
sub eax, edx
push ebx
sar eax, 1
push eax
mov eax, dword [esp + 0x1040]
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov esi, eax
mov dword [esp + 0x74], esi
jmp 0x457663
mov esi, dword [esp + 0x74]
cmp edi, 1
je 0x45767d
cmp edi, 2
je 0x45767d
cmp edi, 3
je 0x45768f
mov ecx, dword [esp + 0x2ac]
push esi
push ecx
jmp 0x457685
mov edx, dword [ebp + 0x218]
push esi
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x70], eax
mov ax, word [0x487fbc]
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x4c]
mov cl, byte [0x487fbe]
shl eax, 8
add eax, 0x49b588
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
shl eax, 8
add eax, 0x49b588
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x50]
shl eax, 8
add eax, 0x49b588
mov dword [esp + 0x80], eax
mov al, byte [esp + 0x42c]
mov byte [esp + 0x16], cl
test al, al
je 0x457ed9
mov esi, dword [sym.imp.GDI32.dll_TextOutA]
mov edi, dword [esp + 0x3c]
lea edx, [esp + 0x42c]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x1010]
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x42d]
lea edx, [ebx + ebx*2]
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x68], edx
cmp al, 9
je 0x457eb3
cmp al, 0x20
je 0x457eb3
cmp dword [esp + 0x40], 0
jl 0x457ec0
cmp dword [esp + 0x1014], 0
jl 0x457ec0
mov eax, dword [esp + 0x58]
dec eax
cmp edi, eax
jg 0x457ec0
mov eax, dword [esp + 0x6c]
add eax, 0xffffffff
mov dword [esp + 0x1c], eax
js 0x457ec0
mov eax, dword [esp + 0x18]
mov al, byte [eax]
mov ecx, dword [esp + 0x24]
mov cl, byte [ecx]
mov byte [esp + 0x14], al
mov byte [esp + 0x15], cl
test al, al
je 0x457f91
test cl, cl
je 0x457f91
mov eax, dword [esp + 0x1024]
cmp eax, 1
jne 0x457807
movzx edx, byte [esp + 0x50]
movzx eax, byte [esp + 0x54]
movzx ecx, byte [esp + 0x4c]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
push edx
mov edx, dword [ebp + 0x218]
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp + 0x218]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [ebp + 0x218]
push 2
lea ecx, [esp + 0x18]
push ecx
push 0
push edi
push edx
call esi
mov eax, dword [esp + 0x68]
add dword [esp + 0x40], ebx
add dword [esp + 0x20], ebx
add edi, ebx
add dword [esp + 0x28], eax
mov dword [esp + 0x3c], edi
mov eax, 2
jmp 0x457eb8
cmp eax, 2
jne 0x4578e3
mov ecx, dword [ebp + 0x218]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [ebp + 0x218]
push 0
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x218]
push 2
lea eax, [esp + 0x18]
push eax
push 0
push ecx
push edx
call esi
mov ecx, dword [ebp + 0x218]
push 2
lea eax, [esp + 0x18]
push eax
push 1
push edi
push ecx
call esi
mov ecx, dword [ebp + 0x218]
push 2
lea edx, [esp + 0x18]
push edx
push 1
lea eax, [edi + 2]
push eax
push ecx
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x218]
push 2
lea edx, [esp + 0x18]
push edx
push 2
push eax
push ecx
call esi
movzx edx, byte [esp + 0x50]
movzx eax, byte [esp + 0x54]
movzx ecx, byte [esp + 0x4c]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
push edx
mov edx, dword [ebp + 0x218]
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x218]
push 2
lea eax, [esp + 0x18]
push eax
push 1
push ecx
push edx
call esi
mov eax, dword [esp + 0x68]
add dword [esp + 0x40], ebx
add dword [esp + 0x20], ebx
add edi, ebx
add dword [esp + 0x28], eax
mov dword [esp + 0x3c], edi
mov eax, 2
jmp 0x457eb8
cmp eax, 3
jne 0x457a3f
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x100c]
lea ecx, [esp + 0x32c]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x1010]
push eax
mov eax, dword [esp + 0x70]
push ecx
push esi
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [0x55f14c]
mov ecx, dword [esp + 0x3c]
imul ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x78]
mov edi, dword [ebp + 0x25c]
add esp, 0x20
lea edx, [eax + eax*2]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x5c], edx
test esi, esi
jle 0x457e8e
mov dword [esp + 0x48], esi
jmp 0x457960
xor esi, esi
cmp dword [esp + 0x1008], esi
jle 0x457a18
mov eax, dword [esp + 0x64]
lea edx, [edi + 1]
sub edi, edx
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x2c]
sub edi, edx
add edi, 2
add ecx, edx
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x5c]
sub edi, edx
mov edx, dword [esp + 0x2c]
add edi, edx
mov dword [esp + 0x90], edi
mov edi, dword [esp + 0x64]
add eax, 2
mov edx, edi
sub edx, eax
add edx, 3
mov dword [esp + 0x44], edx
mov edx, edi
sub edx, eax
inc edx
mov dword [esp + 0x38], edx
sub edi, eax
mov ebx, dword [esp + 0x34]
lea edx, [esi*4]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x44]
movzx edx, byte [edx + eax]
mov byte [ebx + ecx], dl
movzx edx, byte [eax]
mov ebx, dword [esp + 0x30]
mov byte [ecx], dl
mov edx, dword [esp + 0x38]
movzx edx, byte [edx + eax]
mov byte [ebx + ecx], dl
mov ebx, dword [esp + 0x90]
or dl, 0xff
sub dl, byte [edi + eax]
inc esi
mov byte [ebx + ecx], dl
add eax, 4
add ecx, 3
cmp esi, dword [esp + 0x1008]
jl 0x4579bb
mov ebx, dword [esp + 0x1010]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1008]
sub ecx, dword [esp + 0x60]
add eax, eax
add eax, eax
add dword [esp + 0x7c], eax
sub dword [esp + 0x48], 1
mov dword [esp + 0x1c], ecx
jne 0x457960
jmp 0x457e8e
mov eax, dword [esp + 0x2fc]
push eax
lea ecx, [esp + 0x98]
call fcn.00401ff0
push eax
push 0
push 0
xor eax, eax
lea edi, [esp + 0xa4]
call fcn.00401f90
mov edx, dword [esp + 0x2ac]
push 2
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push edx
call esi
cmp dword [esp + 0x1018], 0
je 0x457a9a
mov ecx, dword [esp + 0x2ac]
push 2
lea eax, [esp + 0x18]
push eax
push 0
push 1
push ecx
call esi
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x88]
imul esi, eax
add esi, dword [esp + 0x28]
lea edx, [edi + eax]
lea ecx, [esp + 0x94]
mov dword [esp + 0x1c], edx
call fcn.00401ff0
lea eax, [eax + eax*2]
lea eax, [eax*8 + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x2f0]
sar eax, 2
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x2fc]
add eax, eax
add eax, eax
dec edx
imul edx, eax
cmp dword [0x58fcbc], 0
lea ecx, [edi + eax]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x25c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
je 0x457ceb
cmp dword [esp + 0x101c], 0
je 0x457ceb
mov edi, dword [esp + 0x6c]
sub edi, dword [0x54acf4]
mov edx, dword [0x54a8c4]
mov ebx, dword [esp + 0x3c]
dec edi
imul edi, dword [esp + 0x60]
add edx, ebx
lea edx, [edx + edx*2]
add edi, edx
mov edx, dword [esp + 0x100c]
test edx, edx
jle 0x457e87
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x30]
jmp 0x457b70
cmp dword [esp + 0x1008], 0
mov ebx, dword [esp + 0x2c]
jle 0x457ccc
lea ebp, [edx + ebx + 6]
mov dword [esp + 0x48], ebp
mov ebp, 3
sub ebp, eax
lea ebp, [edx + ebp*2]
add ebp, ebx
mov ebx, dword [esp + 0x1008]
add edx, ebx
lea edx, [edx + ebx*8]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], edx
lea ebx, [ebx]
movzx ebx, byte [eax + ebp - 6]
movzx edx, byte [eax + ebp - 3]
movzx eax, byte [eax + ebp]
lea edx, [ebx + edx*2]
add edx, eax
mov eax, dword [esp + 0x48]
movzx ebx, byte [eax - 3]
add edx, ebx
movzx ebx, byte [ebp - 3]
add edx, ebx
movzx ebx, byte [eax - 6]
movzx eax, byte [eax]
lea edx, [ebx + edx*2]
movzx ebx, byte [ebp - 6]
add edx, ebx
movzx ebx, byte [ebp]
add edx, ebx
mov ebx, dword [esp + 0x80]
add edx, eax
movzx eax, byte [ecx + esi]
sar edx, 4
movzx ebx, byte [edx + ebx]
shl eax, 8
sub eax, edx
movzx eax, byte [eax + 0x49b687]
add eax, ebx
movzx ebx, byte [edi + ecx]
shl ebx, 8
sub ebx, edx
mov bl, byte [ebx + 0x49b687]
mov byte [edi + ecx], bl
inc edi
cmp eax, 0xff
jle 0x457c2a
mov eax, 0xff
mov ebx, dword [esp + 0x8c]
mov byte [ecx + esi], al
movzx eax, byte [ecx + esi + 1]
movzx ebx, byte [edx + ebx]
inc esi
shl eax, 8
sub eax, edx
movzx eax, byte [eax + 0x49b687]
add eax, ebx
movzx ebx, byte [edi + ecx]
shl ebx, 8
sub ebx, edx
mov bl, byte [ebx + 0x49b687]
mov byte [edi + ecx], bl
inc edi
cmp eax, 0xff
jle 0x457c6b
mov eax, 0xff
mov ebx, dword [esp + 0x78]
mov byte [ecx + esi], al
movzx eax, byte [ecx + esi + 1]
movzx ebx, byte [edx + ebx]
inc esi
shl eax, 8
sub eax, edx
movzx eax, byte [eax + 0x49b687]
add eax, ebx
movzx ebx, byte [edi + ecx]
shl ebx, 8
sub ebx, edx
mov dl, byte [ebx + 0x49b687]
mov byte [edi + ecx], dl
inc edi
cmp eax, 0xff
jle 0x457ca9
mov eax, 0xff
add dword [esp + 0x48], 9
mov byte [ecx + esi], al
mov eax, dword [esp + 0x34]
inc esi
add ebp, 9
sub dword [esp + 0x38], 1
jne 0x457bb0
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x5c]
sub esi, ebp
sub edi, ebp
sub dword [esp + 0x44], 1
jne 0x457b70
mov ebp, dword [esp + 0x84]
jmp 0x457e87
cmp dword [esp + 0x100c], 0
jle 0x457e8e
mov edi, dword [esp + 0x100c]
mov dword [esp + 0x38], edi
cmp dword [esp + 0x1008], 0
jle 0x457e74
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1008]
lea ebx, [edx + edi + 6]
mov edi, 3
sub edi, eax
lea edi, [edx + edi*2]
add edi, dword [esp + 0x2c]
add edx, ebp
lea edx, [edx + ebp*8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edx
movzx ebp, byte [edi + eax - 6]
movzx edx, byte [edi + eax - 3]
lea edx, [ebp + edx*2]
movzx ebp, byte [edi + eax]
add edx, ebp
movzx ebp, byte [edi - 3]
add edx, ebp
movzx ebp, byte [ebx - 3]
add edx, ebp
movzx ebp, byte [edi - 6]
lea edx, [ebp + edx*2]
movzx ebp, byte [ebx - 6]
movzx ebx, byte [ebx]
add edx, ebp
movzx ebp, byte [edi]
add edx, ebp
add edx, ebx
movzx ebx, byte [ecx + esi]
shl ebx, 8
sar edx, 4
sub ebx, edx
movzx ebp, byte [ebx + 0x49b687]
mov ebx, dword [esp + 0x80]
movzx ebx, byte [edx + ebx]
add ebp, ebx
cmp ebp, 0xff
mov ebx, 0xff
jg 0x457da7
mov ebx, ebp
mov byte [ecx + esi], bl
movzx ebx, byte [ecx + esi + 1]
inc esi
shl ebx, 8
sub ebx, edx
movzx ebp, byte [ebx + 0x49b687]
mov ebx, dword [esp + 0x8c]
movzx ebx, byte [edx + ebx]
add ebp, ebx
cmp ebp, 0xff
mov ebx, 0xff
jg 0x457dd8
mov ebx, ebp
mov byte [ecx + esi], bl
movzx ebx, byte [ecx + esi + 1]
inc esi
shl ebx, 8
sub ebx, edx
movzx ebp, byte [ebx + 0x49b687]
mov ebx, dword [esp + 0x78]
movzx ebx, byte [edx + ebx]
add ebp, ebx
cmp ebp, 0xff
mov ebx, 0xff
jg 0x457e06
mov ebx, ebp
mov byte [ecx + esi], bl
inc esi
cmp dword [esp + 0x101c], 0
je 0x457e50
movzx ebx, byte [ecx + esi]
shl ebx, 8
sub ebx, edx
movzx ebx, byte [ebx + 0x49b687]
mov byte [ecx + esi], bl
movzx ebx, byte [ecx + esi + 1]
shl ebx, 8
sub ebx, edx
movzx ebx, byte [ebx + 0x49b687]
mov byte [ecx + esi + 1], bl
movzx ebx, byte [ecx + esi + 2]
shl ebx, 8
sub ebx, edx
mov dl, byte [ebx + 0x49b687]
mov byte [ecx + esi + 2], dl
mov ebx, dword [esp + 0x44]
add ebx, 9
add edi, 9
sub dword [esp + 0x34], 1
mov dword [esp + 0x44], ebx
jne 0x457d40
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x84]
sub esi, dword [esp + 0x1c]
sub edx, dword [esp + 0x5c]
sub dword [esp + 0x38], 1
jne 0x457d04
mov ebx, dword [esp + 0x1010]
mov eax, dword [esp + 0x68]
add dword [esp + 0x3c], ebx
add dword [esp + 0x40], ebx
add dword [esp + 0x20], ebx
add dword [esp + 0x28], eax
mov esi, dword [sym.imp.GDI32.dll_TextOutA]
mov edi, dword [esp + 0x3c]
mov eax, 2
jmp 0x457eb8
mov eax, 1
add dword [esp + 0x24], eax
add dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov al, byte [ecx]
test al, al
jne 0x457727
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x1024]
cmp edi, 1
jne 0x457f2f
mov edx, dword [esp + 0x70]
mov eax, dword [ebp + 0x218]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
lea eax, [esp + 0x94]
call fcn.00401200
cmp dword [esp + 0x2e8], 0
je 0x457f9d
mov ecx, dword [esp + 0x2f4]
push ecx
call esi
mov edx, dword [esp + 0x2e8]
push edx
call fcn.00407f4f
add esp, 4
jmp 0x457f9d
cmp edi, 3
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x457f52
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x2ac]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call edi
jmp 0x457f5f
mov edx, dword [esp + 0x64]
push edx
call fcn.00407f4f
add esp, 4
lea eax, [esp + 0x94]
call fcn.00401200
cmp dword [esp + 0x2e8], 0
je 0x457f9d
mov eax, dword [esp + 0x2f4]
push eax
call edi
mov ecx, dword [esp + 0x2e8]
push ecx
call fcn.00407f4f
add esp, 4
jmp 0x457f9d
lea ecx, [esp + 0x94]
call fcn.00401160
mov ecx, dword [esp + 0xfec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xfd0]
xor ecx, esp
call fcn.00407f40
add esp, 0xfe4
ret 0x2c