Function at 0x43c060
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4a9034]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [0x4a9034], ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x2c], 0xffffffff
mov byte [esp + 0xe], 0xa
mov byte [0x4a903c], bl
mov byte [0x4a9033], bl
mov byte [0x4a9032], bl
mov dword [0x4a9038], ebx
mov byte [esp + 0x13], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x14], bl
mov byte [esp + 0xf], bl
mov byte [esp + 0x12], bl
cmp byte [esi], bl
je 0x43c250
movsx ecx, byte [esi]
push ecx
call fcn.00487a25
add eax, 0xffffffbd
add esp, 4
cmp eax, 0x19
ja case.0x43c0ef.69
movzx edx, byte [eax + 0x43cbf8]
jmp dword [edx*4 + 0x43cbd0]
movzx edi, byte [esi + 1]
test edi, 0xffffff80
jne 0x43c114
push 2
push edi
call fcn.0048671e
add esp, 8
cmp eax, ebx
je 0x43c114
and edi, 0xffffffdf
mov eax, edi
cmp al, 0x4c
jne 0x43c127
inc esi
mov byte [0x4a903c], 2
jmp case.0x43c0ef.69
mov byte [0x4a903c], 1
jmp case.0x43c0ef.69
cmp byte [esi + 1], 0
je case.0x43c0ef.69
mov al, byte [esi + 1]
inc esi
test al, al
je case.0x43c0ef.69
mov byte [esp + 0xe], al
jmp case.0x43c0ef.69
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je case.0x43c0ef.70
cmp al, 9
je case.0x43c0ef.70
mov edi, 0x49a050
mov eax, esi
call fcn.004093b0
mov edi, eax
cmp edi, ebx
jne 0x43c181
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c175
sub eax, edx
lea edi, [esi + eax]
push ebx
mov eax, edi
sub eax, esi
push eax
push esi
mov ecx, 0x4ac290
call fcn.0041f0e0
mov ecx, eax
mov dword [0x4a9034], ecx
cmp ecx, ebx
je 0x43cb1c
cmp byte [ecx + 0x3d], 0
jne 0x43cb1c
mov eax, dword [ecx + 0x10]
cmp eax, 2
jl 0x43cb1c
cmp eax, 3
jg 0x43cb1c
mov eax, dword [ecx + 0xc]
cmp word [eax + 4], 0
jne 0x43cb1c
cmp word [eax + 0x14], 0
jne 0x43cb1c
lea esi, [edi - 1]
xor ebx, ebx
jmp case.0x43c0ef.69
mov byte [0x4a9033], 1
jmp case.0x43c0ef.69
lea ecx, [esi + 1]
push ecx
call fcn.00486766
add esp, 4
cmp eax, 1
jge 0x43c200
mov eax, 1
dec eax
mov dword [0x4a9038], eax
jmp case.0x43c0ef.69
push 6
push str.Random
push esi
call fcn.00485c60
add esp, 0xc
test eax, eax
jne 0x43c226
mov byte [esp + 0xf], 1
add esi, 5
jmp case.0x43c0ef.69
mov byte [0x4a9032], 1
jmp case.0x43c0ef.69
mov byte [esp + 0x12], 1
mov dword [esp + 0x2c], ebx
jmp case.0x43c0ef.69
mov byte [esp + 0x13], 1
jmp case.0x43c0ef.69
mov byte [esp + 0x14], 1
inc esi
cmp byte [esi], 0
jne 0x43c0d0
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
test cl, cl
je 0x43cb1c
mov ebx, dword [0x4aa178]
mov al, byte [ebx + 0x17]
mov dword [esp + 0x18], ebx
test al, al
jne 0x43c274
mov eax, dword [ebx + 0xc]
mov al, byte [eax + 0x17]
cmp al, 2
ja 0x43cb1c
mov edi, 1
mov eax, edx
cmp cl, byte [esp + 0xe]
jne 0x43c28a
inc edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43c283
mov esi, eax
mov ecx, edx
sub esi, ecx
cmp byte [esp + 0x13], 0
mov dword [esp + 0x28], esi
jne 0x43c2b3
cmp eax, ecx
jbe 0x43c2b3
mov cl, byte [eax - 1]
cmp cl, byte [esp + 0xe]
jne 0x43c2b3
dec edi
jmp 0x43c2d9
cmp byte [esp + 0xe], 0xa
jne 0x43c2de
push 0xa
push edx
call fcn.004861d1
add esp, 8
test eax, eax
je 0x43c2de
cmp eax, dword [ebp + 0xc]
jbe 0x43c2de
cmp byte [eax - 1], 0xd
jne 0x43c2de
mov byte [esp + 0x11], 1
mov byte [esp + 0x10], 1
cmp edi, 1
jne 0x43c2fa
mov eax, dword [ebp + 0xc]
push edi
push 0
push esi
push eax
push ebx
call fcn.004750c0
mov dword [esp + 0x1c], eax
jmp 0x43cb1c
cmp dword [0x4a9034], 0
jne 0x43c30a
cmp byte [esp + 0x11], 0
je 0x43c373
lea ecx, [esi + 3]
push ecx
call fcn.00485399
mov ebx, eax
add esp, 4
mov dword [esp + 0x38], ebx
test ebx, ebx
jne 0x43c33c
mov ecx, dword [ebp + 8]
push 0x498819
push eax
push str.Out_of_memory.
call fcn.0042d4e0
mov dword [esp + 0x1c], eax
jmp 0x43cb1c
mov eax, dword [ebp + 0xc]
lea edx, [esi + 1]
push edx
push eax
push ebx
call fcn.0048dae0
add esp, 0xc
cmp byte [esp + 0x11], 0
mov dword [ebp + 0xc], ebx
je 0x43c373
mov cx, word [0x49d964]
mov word [esi + ebx], cx
mov dl, byte [0x49d966]
mov byte [esi + ebx + 2], dl
add esi, 2
mov dword [esp + 0x28], esi
xor eax, eax
cmp byte [esp + 0xf], al
setne al
inc edi
inc eax
add eax, eax
add eax, eax
imul edi, eax
push edi
mov dword [esp + 0x24], eax
call fcn.00485399
mov ebx, eax
add esp, 4
mov dword [esp + 0x34], ebx
test ebx, ebx
jne 0x43c3b8
mov ecx, dword [ebp + 8]
push 0x498819
push eax
push str.Out_of_memory.
call fcn.0042d4e0
mov dword [esp + 0x1c], eax
jmp 0x43cb1c
mov esi, dword [ebp + 0xc]
mov dword [ebx], esi
cmp byte [esi], 0
mov edi, ebx
mov dword [esp + 0x1c], 0
mov edx, 1
je 0x43c44b
mov al, byte [esi]
cmp al, byte [esp + 0xe]
jne 0x43c444
add dword [esp + 0x1c], edx
cmp byte [esp + 0xf], 0
mov byte [esi], 0
je 0x43c43b
sub dword [0x4a63c4], edx
jne 0x43c3fd
call fcn.004125b0
mov edx, 1
mov ecx, dword [0x4a9174]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4a9174], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
shr ecx, 1
mov dword [edi + 4], ecx
add edi, dword [esp + 0x20]
lea eax, [esi + 1]
mov dword [edi], eax
add esi, edx
cmp byte [esi], 0
jne 0x43c3d5
cmp byte [esp + 0x10], 0
jne 0x43c4a8
add dword [esp + 0x1c], edx
cmp byte [esp + 0xf], 0
je 0x43c4a8
sub dword [0x4a63c4], edx
jne 0x43c46a
call fcn.004125b0
mov ecx, dword [0x4a9174]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4a9174], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
shr edx, 1
mov dword [edi + 4], edx
cmp dword [0x4a9034], 0
je 0x43c4c2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0x43bec0
push eax
push ecx
jmp 0x43c4f6
cmp byte [esp + 0xf], 0
je 0x43c4da
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 0x43beb0
push edx
push eax
jmp 0x43c4f6
cmp byte [esp + 0x14], 0
mov eax, 0x43be40
jne 0x43c4eb
mov eax, 0x43bd10
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call fcn.004863d0
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov al, byte [esi + 0x17]
add esp, 0x10
mov ebx, edi
mov dword [esp + 0x28], ebx
test al, al
jne 0x43c526
mov eax, dword [esi + 0xc]
push 1
push 0
push edi
push 0
push eax
call fcn.004750c0
jmp 0x43c590
mov byte [esp + 0xf], 1
mov cl, 1
cmp edi, 0xffffffff
jne 0x43c53c
xor cl, cl
xor ebx, ebx
mov dword [esp + 0x28], ebx
jmp 0x43c541
mov byte [esp + 0xf], 0
lea edi, [ebx + 1]
cmp al, 2
jne 0x43c56f
cmp byte [esp + 0xf], 0
je 0x43c55d
push 0x498819
mov eax, ebx
call fcn.004042c0
jmp 0x43c590
mov esi, 0x4ac8f0
call fcn.00404340
neg eax
sbb eax, eax
neg eax
jmp 0x43c590
cmp edi, dword [0x4a688c]
jbe 0x43c5a6
cmp edi, dword [esi + 0x10]
jbe 0x43c5a6
push 0x498819
push 0x49fa50
mov ecx, 0x4ac290
call fcn.0042d790
cmp eax, 1
je 0x43c7ab
mov dword [esp + 0x1c], 0
jmp 0x43cb1c
cmp edi, 2
jae 0x43c5c4
xor edx, edx
test cl, cl
setne dl
xor al, al
mov ecx, esi
add edx, 3
push edx
call fcn.00475660
jmp 0x43c7af
mov al, byte [esi + 0x15]
test al, 2
je 0x43c5da
and al, 0x3d
mov byte [esi + 0x15], al
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edx, dword [esi + 0x10]
and byte [esi + 0x15], 0x82
mov dword [esp + 0x30], edx
cmp edi, edx
jbe 0x43c614
mov cl, byte [esi + 0x14]
cmp cl, 1
jbe 0x43c647
cmp cl, 2
je 0x43c67f
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
and byte [ecx + 0x15], 0x7f
mov dword [ecx + 0x10], esi
mov esi, dword [esp + 0x18]
mov dword [ecx + 8], eax
cmp byte [esp + 0xf], 0
je 0x43c7a0
mov eax, dword [esi + 8]
cmp eax, 0x498819
je 0x43c638
push ebx
push 0x498819
push eax
call fcn.00485dc0
add esp, 0xc
mov eax, dword [esi + 8]
mov byte [ebx + eax], 0
mov dword [esi + 0xc], ebx
jmp 0x43c7af
cmp edi, 0x40
ja 0x43c67f
cmp edi, 4
ja 0x43c658
mov esi, 4
jmp 0x43c666
mov eax, 8
cmp eax, edi
sbb esi, esi
and esi, 0x38
add esi, eax
mov eax, esi
call fcn.0046f870
test eax, eax
je 0x43c599
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x14], 1
jmp 0x43c606
cmp edi, 0x10
jae 0x43c68e
mov esi, 0x10
jmp 0x43c716
cmp edi, 0x104
jae 0x43c6a0
mov esi, 0x104
jmp 0x43c716
cmp edi, 0x28000
jae 0x43c6e4
mov dword [esp + 0x30], edi
fild dword [esp + 0x30]
test edi, edi
jns 0x43c6ba
fadd qword [0x4a0a68]
fmul qword [0x4a0a70]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [esp + 0x50]
mov esi, dword [esp + 0x50]
fldcw word [esp + 0x14]
jmp 0x43c716
cmp edi, 0x190000
jae 0x43c6f4
lea esi, [edi + 0x4000]
jmp 0x43c716
cmp edi, 0x640000
jae 0x43c710
mov eax, 0x51eb851f
mul edi
mov esi, edx
mov edx, dword [esp + 0x30]
shr esi, 5
add esi, edi
jmp 0x43c716
lea esi, [edi + 0x10000]
mov eax, dword [0x4a688c]
cmp esi, eax
jbe 0x43c721
mov esi, eax
cmp cl, 2
jne 0x43c760
test edx, edx
je 0x43c760
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
push edx
mov bl, 1
call fcn.004851f8
add esp, 4
xor edi, edi
cmp esi, edi
jl 0x43c764
push esi
call fcn.00485399
add esp, 4
cmp eax, edi
je 0x43c764
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov byte [ecx + 0x14], 2
jmp 0x43c606
xor bl, bl
jmp 0x43c73c
mov eax, dword [esp + 0x18]
test bl, bl
je 0x43c788
push 0x498819
mov dword [eax + 0x10], edi
mov dword [eax + 8], 0x4abb36
mov dword [eax + 0xc], edi
push str.Out_of_memory.
jmp 0x43c586
mov edx, dword [eax + 8]
push 0x498819
mov byte [edx], 0
mov dword [eax + 0xc], edi
push str.Out_of_memory.
jmp 0x43c586
mov ecx, dword [esi + 8]
mov byte [ecx], 0
mov dword [esi + 0xc], ebx
jmp 0x43c7af
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
xor ebx, ebx
dec edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
cmp byte [esi + 0x17], bl
jne 0x43c7d4
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0xc]
jmp 0x43c7d8
mov esi, dword [esp + 0x18]
test byte [esi + 0x15], 8
je 0x43c7e5
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x43c7fe
test byte [esi + 0x15], 4
je 0x43c7f9
mov eax, esi
call fcn.0042dd10
mov esi, dword [esi + 8]
jmp 0x43c852
cmp al, 2
jne 0x43c84d
mov eax, dword [0x4ac8fc]
test eax, eax
jne 0x43c849
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x43c833
push 0xf
call esi
test eax, eax
je 0x43c82a
mov eax, str.____
mov esi, eax
jmp 0x43c852
mov eax, 0x498819
mov esi, eax
jmp 0x43c852
xor ecx, ecx
call fcn.004040f0
cmp eax, 0xffffffff
mov eax, 0x498819
je 0x43c849
mov eax, dword [0x4ac8f8]
mov esi, eax
jmp 0x43c852
mov esi, 0x4abb36
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x1c], ebx
jbe 0x43c93b
cmp byte [esp + 0x12], 0
je 0x43c9a1
test ebx, ebx
je 0x43c9a1
cmp byte [0x4a9033], 0
je 0x43c966
cmp dword [0x4a9038], 0
jne 0x43c966
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx]
mov eax, edi
call fcn.0040ce30
test al, al
je 0x43c8b9
push 0x10
push 0
push edi
call fcn.00486fdb
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
fild qword [esp + 0x4c]
add esp, 0xc
jmp 0x43c8c2
push edi
call fcn.004870dd
add esp, 4
mov eax, ebx
fstp qword [esp + 0x50]
call fcn.0040ce30
test al, al
je 0x43c8ec
push 0x10
push 0
push ebx
call fcn.00486fdb
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
fild qword [esp + 0x54]
add esp, 0xc
jmp 0x43c8f5
push ebx
call fcn.004870dd
add esp, 4
fld qword [esp + 0x50]
fucompp
fnstsw ax
test ah, 0x44
jp 0x43c9a1
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
inc dword [esp + 0x28]
cmp edx, dword [esp + 0x30]
jne 0x43c920
cmp byte [esp + 0x10], 0
jne 0x43c920
dec esi
mov eax, dword [esp + 0x14]
add edi, dword [esp + 0x20]
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edi
cmp eax, dword [esp + 0x1c]
jb 0x43c860
mov eax, dword [esp + 0x34]
push eax
call fcn.004851f8
mov edi, dword [esp + 0x1c]
add esp, 4
cmp byte [esp + 0x11], 0
je 0x43ca01
mov byte [esi - 2], 0
cmp byte [edi + 0x17], 0
jne 0x43c9d9
mov esi, dword [edi + 0xc]
jmp 0x43c9db
mov al, byte [0x4a903c]
push ebx
test al, al
jne 0x43c97a
mov eax, dword [edi]
push eax
call fcn.004851e1
jmp 0x43c991
cmp al, 2
jne 0x43c989
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
jmp 0x43c994
mov eax, dword [edi]
push eax
call fcn.00485331
add esp, 8
test eax, eax
setne al
test al, al
je 0x43c90a
mov edi, dword [esp + 0x24]
mov ecx, dword [edi]
mov al, byte [ecx]
test al, al
je 0x43c9ba
lea ecx, [ecx]
inc ecx
mov byte [esi], al
mov al, byte [ecx]
inc esi
test al, al
jne 0x43c9b0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x30]
jb 0x43c9cb
cmp byte [esp + 0x10], 0
je 0x43c9d2
mov cl, byte [esp + 0xe]
mov byte [esi], cl
inc esi
mov ebx, dword [edi]
jmp 0x43c920
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x43c9f7
test byte [esi + 0x15], 8
je 0x43c9ee
mov eax, esi
call fcn.00401150
add dword [esi + 0xc], 0xfffffffe
lea eax, [esi + 0xc]
jmp 0x43ca04
mov eax, 0x4acaa0
add dword [eax], 0xfffffffe
jmp 0x43ca04
mov byte [esi], 0
cmp byte [esp + 0x12], 0
je 0x43cae2
cmp dword [esp + 0x28], 0
je 0x43cae2
cmp byte [edi + 0x17], 0
jne 0x43ca25
mov esi, dword [edi + 0xc]
jmp 0x43ca27
mov esi, edi
test byte [esi + 0x15], 8
je 0x43ca34
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x43ca4d
test byte [esi + 0x15], 4
je 0x43ca48
mov eax, esi
call fcn.0042dd10
mov eax, dword [esi + 8]
jmp 0x43ca9b
cmp al, 2
jne 0x43ca96
mov eax, dword [0x4ac8fc]
test eax, eax
jne 0x43ca9b
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x43ca7e
push 0xf
call esi
test eax, eax
je 0x43ca77
mov eax, str.____
jmp 0x43ca9b
mov eax, 0x498819
jmp 0x43ca9b
xor ecx, ecx
call fcn.004040f0
cmp eax, 0xffffffff
mov eax, 0x498819
je 0x43ca9b
mov eax, dword [0x4ac8f8]
jmp 0x43ca9b
mov eax, 0x4abb36
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43caa0
mov esi, dword [esp + 0x18]
sub eax, edx
mov edi, eax
cmp byte [esi + 0x17], cl
jne 0x43cab7
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 1
jne 0x43cacf
test byte [esi + 0x15], 8
je 0x43caca
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x43cad4
mov eax, 0x4acaa0
mov ecx, dword [esp + 0x28]
mov dword [eax], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
cmp byte [edi + 0x17], 0
jne 0x43caed
mov eax, dword [edi + 0xc]
jmp 0x43caef
mov eax, edi
cmp byte [eax + 0x17], 2
jne 0x43cb10
cmp dword [0x4ac8fc], 0
je 0x43cb10
push 1
mov ecx, 0x4ac8f0
call fcn.004043b0
mov dword [esp + 0x1c], eax
jmp 0x43cb1c
and byte [eax + 0x15], 0x86
mov dword [esp + 0x1c], 1
mov edi, dword [esp + 0x2c]
cmp edi, 0xffffffff
je 0x43cb91
mov esi, dword [0x4aaa2c]
cmp byte [esi + 0x17], 0
jne 0x43cb34
mov esi, dword [esi + 0xc]
mov al, byte [esi + 0x15]
test al, 2
je 0x43cb4a
and al, 0x3d
mov byte [esi + 0x15], al
mov eax, dword [esi]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov al, byte [esi + 0x15]
and al, 0x9b
or al, 0x18
mov dword [esi], edi
mov dword [esi + 4], 0
mov byte [esi + 0x15], al
jns 0x43cb6c
mov eax, esi
call fcn.00401150
and byte [esi + 0x15], 0x8f
jmp 0x43cb91
cmp dword [0x4aa38c], 0
je 0x43cb79
test al, 0x10
jne 0x43cb86
cmp dword [0x4aa390], 0
je 0x43cb91
test al, 0x20
je 0x43cb91
test al, 8
je 0x43cb91
mov eax, esi
call fcn.00401150
mov eax, dword [esp + 0x38]
test eax, eax
je 0x43cbb9
push eax
call fcn.004851f8
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [0x4a9034], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [0x4a9034], edx
pop ebx
mov esp, ebp
pop ebp
ret 8