Function at 0x427e00
Capabilities:
Allocate or change rwx memory
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x4ae9fc]
xor eax, esp
mov dword [esp + 0xc8], eax
xor eax, eax
push ebx
mov ebx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 8], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xc]
push esi
push edi
add eax, 0x10
mov edi, 3
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
cmp eax, dword [ebx + 8]
jae 0x427e52
cmp eax, 0x497098
je 0x427e52
cmp dword [eax + 8], 6
je 0x427e6b
mov eax, dword [0x49701c]
push eax
mov edi, 2
mov esi, ebx
call fcn.004226b0
mov edi, dword [esp + 0x24]
add esp, 4
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
add eax, 0x20
cmp eax, ecx
jae 0x427f66
cmp eax, 0x497098
je 0x427f66
cmp dword [eax + 8], 0
jle 0x427f66
cmp eax, ecx
jb 0x427e9a
mov eax, 0x497098
mov ecx, dword [eax + 8]
cmp ecx, 4
je 0x427ee9
cmp ecx, 7
jne 0x427eb4
mov ecx, dword [eax]
cmp dword [ecx + 8], 0
jne 0x427eb4
lea eax, [ecx + 0x18]
jmp 0x427eee
mov esi, eax
mov edi, ebx
call fcn.00436ca0
test eax, eax
jne 0x427ec7
mov dword [esp + 0x14], eax
jmp 0x427ef6
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x48]
cmp ecx, dword [eax + 0x44]
jb 0x427ed9
mov eax, ebx
call fcn.00436a70
mov eax, dword [ebx + 0xc]
add eax, 0x20
cmp eax, dword [ebx + 8]
jb 0x427ee9
mov eax, 0x497098
mov eax, dword [eax]
add eax, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x427f10
mov edx, dword [0x497014]
push edx
mov edi, 3
mov esi, ebx
call fcn.004226b0
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
add eax, 0x20
mov esi, 0x497098
cmp eax, dword [ebx + 8]
jae 0x427f26
mov esi, eax
mov eax, dword [esi + 8]
add eax, 0xfffffffd
cmp eax, 4
ja case.0x427f31.6
jmp dword [eax*4 + 0x428a18]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
jmp 0x427f63
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
jmp 0x427f63
mov eax, dword [esi]
call fcn.00434f50
jmp 0x427f63
mov edi, ebx
call fcn.00436ca0
test eax, eax
je case.0x427f31.6
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x427f63
xor eax, eax
lea edi, [eax + 1]
push 0x28
call fcn.0046f13d
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], eax
lea eax, [edi*4]
push eax
mov dword [esp + 0x2c], esi
call fcn.0046f13d
push edi
mov dword [esi + 0x14], eax
call fcn.0046f13d
push edi
mov dword [esi + 0x20], eax
call fcn.0046f13d
add esp, 0x10
cmp dword [ebp + 0x10], 0
mov dword [esi + 0x1c], eax
jne 0x427fc5
lea eax, [esi + 4]
mov dword [eax], ebx
mov dword [esi + 0x18], 0
jmp 0x42817c
push 0x38
mov dword [esp + 0x1c], 0
call fcn.0046f13d
push 0x38
push 0
push eax
mov dword [esi + 0x18], eax
call fcn.00476c40
mov ecx, dword [esi + 0x18]
add esp, 0x10
add ecx, 0x20
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
add ecx, 0x10
cmp ecx, eax
jb 0x428003
mov ecx, 0x497098
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov ecx, ebx
add dword [ecx + 8], 0x10
push 0
xor edx, edx
call fcn.00450f30
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
lea ebx, [esp + 0x20]
mov eax, edi
call fcn.0041fad0
mov ebx, dword [esp + 0x20]
push ebx
mov dword [esp + 0x20], eax
call fcn.0046f13d
mov edx, dword [esi + 0x18]
mov dword [edx], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push ebx
push eax
push edx
call fcn.0047a020
mov eax, dword [esi + 0x18]
mov dword [eax + 4], ebx
add dword [edi + 8], 0xffffffe0
mov ecx, dword [edi + 0x38]
mov ebx, dword [edi + 8]
add esp, 0x18
test ecx, ecx
je 0x4280ca
mov eax, dword [edi + 0x10]
mov esi, dword [eax + 0x60]
push ecx
call fcn.00434b70
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
add dword [edi + 8], 0x10
push 0xffffffffffffffff
lea ebx, [esp + 0x28]
mov eax, edi
call fcn.0041fad0
mov ebx, dword [esp + 0x28]
push ebx
mov esi, eax
call fcn.0046f13d
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + 0x10]
push ebx
push esi
push ecx
call fcn.0047a020
mov esi, dword [esp + 0x3c]
add esp, 0x18
add dword [edi + 8], 0xfffffff0
push 7
push str.onError
push edi
lea ebx, [edi + 0x40]
call fcn.00446640
mov edx, dword [edi + 8]
push 0
push edx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push eax
push ebx
push edi
mov dword [esp + 0x60], 4
call fcn.00436f40
add dword [edi + 8], 0x10
mov eax, dword [edi + 8]
add eax, 0xfffffff0
add esp, 0x20
cmp eax, 0x497098
je 0x42815f
cmp dword [eax + 8], 6
jne 0x42815f
push 0
xor edx, edx
mov ecx, edi
call fcn.00450f30
push 0xffffffffffffffff
lea ebx, [esp + 0x20]
mov eax, edi
call fcn.0041fad0
mov ebx, dword [esp + 0x20]
push ebx
mov dword [esp + 0x20], eax
call fcn.0046f13d
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 8]
push ebx
push edx
push ecx
call fcn.0047a020
mov edx, dword [esi + 0x18]
add esp, 0x18
mov dword [edx + 0xc], ebx
add dword [edi + 8], 0xfffffff0
jmp 0x42816d
mov ecx, dword [esi + 0x18]
xor eax, eax
mov dword [ecx + 8], eax
mov edx, dword [esi + 0x18]
mov dword [edx + 0xc], eax
add dword [edi + 8], 0xfffffff0
lea eax, [esi + 4]
mov dword [eax], 0
mov ebx, edi
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov al, byte [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edx
mov byte [esp + 0xf], al
test al, al
je 0x4281df
mov edi, dword [esp + 0x10]
jmp 0x4281b4
mov al, byte [esp + 0xf]
movzx ecx, al
push ecx
call fcn.0047082a
add esp, 4
test eax, eax
je 0x4281d7
cmp byte [esp + 0xf], 0x80
jae 0x4281d7
mov al, byte [edi + 1]
inc edi
mov byte [esp + 0xf], al
test al, al
jne 0x4281b0
mov al, byte [esp + 0xf]
mov dword [esp + 0x10], edi
cmp al, 0x28
jne 0x4281e7
mov al, 0x76
jmp 0x4281fc
lea edx, [esp + 0x10]
push edx
lea edi, [esp + 0x13]
call fcn.004253f0
mov esi, dword [esp + 0x28]
add esp, 4
movzx ecx, al
add ecx, 0xffffffbe
cmp ecx, 0x35
ja case.0x42820e.67
movzx ecx, byte [ecx + 0x428a34]
jmp dword [ecx*4 + 0x428a2c]
mov edx, 0x69
mov word [esi + 0x26], dx
jmp 0x428227
movzx eax, al
mov word [esi + 0x26], ax
mov edi, dword [esp + 0x10]
mov al, byte [edi]
test al, al
je 0x428245
cmp al, 0x28
je 0x4282fa
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x428231
mov dword [esp + 0x10], edi
cmp byte [edi], 0x28
je 0x4282fe
mov esi, dword [esp + 0x24]
push ebx
call fcn.004255e0
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x28]
add esp, 4
cmp eax, ecx
jbe 0x4282d2
sub eax, ecx
mov ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push 0x499048
lea eax, [esp + 0x74]
mov edi, ebx
mov dword [esp + 0xcc], ecx
call fcn.00445470
mov eax, dword [esp + 0x78]
add esp, 4
test eax, eax
jne 0x4282a5
mov eax, 0x498e40
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x10]
push edx
push 2
push eax
push str._nCalling:_s_nBad_argument:__d_n_s
push ebx
call fcn.004227c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
push edi
push 2
push str._nBad_argument:__d__s
push ebx
call fcn.004227c0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x10]
mov bl, byte [esi]
test bl, bl
je 0x428364
cmp bl, 0x29
je 0x428364
movzx eax, bl
sub eax, 0x26
je 0x4284d5
sub eax, 2
je 0x428327
sub eax, 4
jne 0x4284dd
lea eax, [esp + 0x10]
inc esi
push eax
lea edi, [esp + 0x13]
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], esi
call fcn.004253f0
mov bl, al
add esp, 4
test bl, bl
je 0x428364
cmp bl, 0x29
je 0x428358
cmp bl, 0x76
jne 0x4283bf
cmp byte [esp + 0xf], 0x64
jne 0x4283cc
mov esi, dword [esp + 0x10]
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x428308
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov byte [ebx], 0
mov byte [ecx], 0
mov eax, dword [esi + 0x1c]
sub ebx, eax
lea edi, [ebx + 1]
push edi
push eax
call fcn.00470e6a
mov edx, dword [esi + 0x20]
push edi
push edx
mov dword [esi + 0x1c], eax
call fcn.00470e6a
add esp, 0x10
cmp dword [esp + 0x34], 0
mov dword [esi + 0x20], eax
je 0x4284ea
mov ecx, dword [esi + 0x14]
lea eax, [ebx*4 + 4]
push eax
push ecx
call fcn.00470e6a
add esp, 8
mov dword [esi + 0x14], eax
jmp 0x4284fd
cmp bl, 0x50
je 0x4283c9
cmp bl, 0x53
jne 0x4283cc
add bl, 0x20
mov ecx, dword [esp + 0x28]
mov dword [ecx], 0
cmp bl, 0x7b
jne 0x428442
mov edx, dword [esp + 0x10]
cmp byte [edx], 0x7d
jne 0x428442
movzx eax, byte [esi]
push eax
call fcn.0047082a
add esp, 4
test eax, eax
je 0x42840f
cmp byte [esi], 0x80
jae 0x42840b
movzx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.0047082a
add esp, 4
test eax, eax
jne 0x4283f4
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
sub esi, edi
push esi
mov dword [esp + 0x38], 1
call fcn.0046f13d
mov ebx, dword [esp + 0x2c]
push esi
inc edi
push edi
push eax
mov dword [ebx], eax
call fcn.0047a020
mov edx, dword [ebx]
add esp, 0x10
mov byte [edx + esi - 1], 0
mov bl, 0x74
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [eax], bl
movsx eax, bl
add eax, 0xffffffbe
mov byte [ecx], bl
cmp eax, 0x37
ja case.0x428460.67
movzx edx, byte [eax + 0x428a84]
jmp dword [edx*4 + 0x428a6c]
mov edi, 1
jmp 0x4284af
mov edi, 2
jmp 0x4284af
mov edi, 4
jmp 0x4284af
mov edi, 8
jmp 0x4284af
xor edi, edi
jmp 0x42848a
or edi, 0xffffffff
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
push eax
call fcn.004255e0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
push str.callback_:__struct_error_..._s
push edx
call fcn.004227c0
add esp, 0x10
add dword [esp + 0x28], 4
add edi, 3
mov eax, 1
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
shr edi, 2
add dword [esp + 0x2c], edi
sub dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
jmp 0x4284dd
mov eax, dword [esp + 0x18]
mov byte [eax - 1], 0x26
test bl, bl
je 0x428364
jmp 0x42835c
mov edx, dword [esi + 0x14]
push edx
call fcn.0046f103
add esp, 4
mov dword [esi + 0x14], 0
inc ebx
cmp dword [ebp + 0x10], 0
mov word [esi + 0x24], bx
mov ebx, dword [esp + 0x1c]
jne 0x428544
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
add ecx, 0x10
cmp ecx, eax
jb 0x42851e
mov ecx, 0x497098
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
add dword [ebx + 8], 0x10
push 0xffffd8f0
mov eax, ebx
call fcn.00423fa0
add esp, 4
mov dword [esi + 8], eax
mov edx, dword [ebx + 0x10]
cmp dword [edx + 0x11c], 0
jne 0x4285d8
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x50]
push 0x40
push 0x1000
push eax
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebx + 0x10]
mov ecx, eax
mov eax, dword [edx + 0x118]
test eax, eax
jne 0x42858c
mov dword [edx + 0x118], ecx
jmp 0x42859a
cmp dword [eax], 0
je 0x428598
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x428591
mov dword [eax], ecx
mov dword [ecx], 0
mov edx, dword [ebx + 0x10]
add ecx, 4
add edi, 0xffffffee
mov dword [edx + 0x11c], ecx
cmp edi, 0xe
jbe 0x4285d2
add edi, 0xfffffff1
mov eax, 0x24924925
mul edi
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 3
inc edi
dec edi
lea eax, [ecx + 0xe]
mov dword [ecx], eax
mov ecx, eax
jne 0x4285c8
mov dword [ecx], 0
cmp dword [ebp + 8], 0
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x11c]
mov dword [esi], ecx
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x11c]
mov ecx, dword [edx]
mov dword [eax + 0x11c], ecx
je 0x4286a6
cmp dword [esi], 0
jne 0x428611
push str.tocdecl_failed_
push ebx
call fcn.004227c0
add esp, 8
mov eax, dword [esi]
mov byte [eax], 0xe8
movzx ecx, byte [eax]
cmp ecx, 0xe8
jl 0x42864d
cmp ecx, 0xe9
jle 0x428640
cmp ecx, 0xeb
jne 0x42864d
mov edx, 0x427b40
sub dl, al
sub dl, 2
mov byte [eax + 1], dl
jmp 0x42864d
mov ecx, 0x427b40
sub ecx, eax
sub ecx, 5
mov dword [eax + 1], ecx
mov byte [eax + 5], 0xc3
movzx ecx, word [esi + 0x26]
cmp cx, 0x64
jne 0x428664
mov dword [eax + 6], 0x427b10
jmp 0x42867a
cmp cx, 0x66
jne 0x428673
mov dword [eax + 6], 0x427ae0
jmp 0x42867a
mov dword [eax + 6], 0x427ac0
mov edx, dword [esp + 0x20]
add eax, 0xa
push esi
mov dword [eax], edx
call fcn.00427b50
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
cmp dword [esi], 0
jne 0x4286b9
push str.tostdcall_failed_
push ebx
call fcn.004227c0
add esp, 8
mov ecx, dword [esi]
mov edx, dword [esp + 0x2c]
mov byte [ecx], 0x58
inc ecx
cmp dword [ebp + 0xc], 0
je 0x4286de
cmp edx, 1
jle 0x4286d8
mov word [ecx], 0x5152
add ecx, 2
jmp 0x4286de
jne 0x4286de
mov byte [ecx], 0x51
inc ecx
mov eax, dword [esp + 0x20]
mov byte [ecx], 0x68
mov dword [ecx + 1], eax
mov byte [ecx + 5], 0x50
add ecx, 6
mov byte [ecx], 0xe9
movzx eax, word [esi + 0x26]
cmp ax, 0x64
jne 0x4287e2
cmp edx, 0x14
ja case.default.0x4288d7
jmp dword [edx*4 + 0x428abc]
mov eax, 0x427310
jmp 0x428978
mov eax, 0x427340
jmp 0x428978
mov eax, 0x427370
jmp 0x428978
mov eax, 0x4273a0
jmp 0x428978
mov eax, 0x4273d0
jmp 0x428978
mov eax, 0x427400
jmp 0x428978
mov eax, 0x427430
jmp 0x428978
mov eax, 0x427460
jmp 0x428978
mov eax, 0x427490
jmp 0x428978
mov eax, 0x4274c0
jmp 0x428978
mov eax, 0x4274f0
jmp 0x428978
mov eax, 0x427520
jmp 0x428978
mov eax, 0x427550
jmp 0x428978
mov eax, 0x427580
jmp 0x428978
mov eax, 0x4275b0
jmp 0x428978
mov eax, 0x4275e0
jmp 0x428978
mov eax, 0x427610
jmp 0x428978
mov eax, 0x427640
jmp 0x428978
mov eax, 0x427670
jmp 0x428978
mov eax, 0x4276a0
jmp 0x428978
mov eax, 0x4272e0
jmp 0x428978
cmp ax, 0x66
jne 0x4288ce
cmp edx, 0x14
ja case.default.0x4288d7
jmp dword [edx*4 + 0x428b10]
mov eax, 0x427700
jmp 0x428978
mov eax, 0x427730
jmp 0x428978
mov eax, 0x427760
jmp 0x428978
mov eax, 0x427790
jmp 0x428978
mov eax, 0x4277c0
jmp 0x428978
mov eax, 0x4277f0
jmp 0x428978
mov eax, 0x427820
jmp 0x428978
mov eax, 0x427850
jmp 0x428978
mov eax, 0x427880
jmp 0x428978
mov eax, 0x4278b0
jmp 0x428978
mov eax, 0x4278e0
jmp 0x428978
mov eax, 0x427910
jmp 0x428978
mov eax, 0x427940
jmp 0x428978
mov eax, 0x427970
jmp 0x428978
mov eax, 0x4279a0
jmp 0x428978
mov eax, 0x4279d0
jmp 0x428978
mov eax, 0x427a00
jmp 0x428978
mov eax, 0x427a30
jmp 0x428978
mov eax, 0x427a60
jmp 0x428978
mov eax, 0x427a90
jmp 0x428978
mov eax, 0x4276d0
jmp 0x428978
cmp edx, 0x14
ja case.default.0x4288d7
jmp dword [edx*4 + 0x428b64]
mov eax, 0x427060
jmp 0x428978
mov eax, 0x427080
jmp 0x428978
mov eax, 0x4270a0
jmp 0x428978
mov eax, 0x4270c0
jmp 0x428978
mov eax, 0x4270e0
jmp 0x428978
mov eax, 0x427100
jmp 0x428978
mov eax, 0x427120
jmp 0x428978
mov eax, 0x427140
jmp 0x428978
mov eax, 0x427160
jmp 0x428978
mov eax, 0x427180
jmp 0x428978
mov eax, 0x4271a0
jmp 0x428978
mov eax, 0x4271c0
jmp 0x428978
mov eax, 0x4271e0
jmp 0x428978
mov eax, 0x427200
jmp 0x428978
mov eax, 0x427220
jmp 0x428978
mov eax, 0x427240
jmp 0x428978
mov eax, 0x427260
jmp 0x428978
mov eax, 0x427280
jmp 0x428978
mov eax, 0x4272a0
jmp 0x428978
mov eax, 0x4272c0
jmp 0x428978
mov eax, 0x427040
movzx edx, byte [ecx]
cmp edx, 0xe8
jl 0x4289c5
cmp edx, 0xe9
jle 0x4289bd
cmp edx, 0xeb
jne 0x4289c5
sub al, cl
sub al, 2
push esi
mov byte [ecx + 1], al
call fcn.00427b50
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
sub eax, ecx
sub eax, 5
mov dword [ecx + 1], eax
push esi
call fcn.00427b50
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x1c]
push edi
call fcn.004255e0
push 0x499498
push edi
call fcn.004227c0
mov ecx, dword [esp + 0xe0]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret