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

Disassembly:
push 0xffffffffffffffff
push 0x600208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x68]
xor edi, edi
cmp dword [ecx - 0xc], edi
mov dword [esp + 0x5c], edi
jl 0x4a9a88
push 0x628768
push ecx
call fcn.005c06f5
mov ecx, dword [esp + 0x70]
add esp, 8
cmp eax, edi
je 0x4a9a83
sub eax, ecx
sar eax, 1
jne 0x4a9a83
lea eax, [ecx - 0x10]
jmp 0x4aa57a
cmp dword [ecx - 0xc], edi
jge 0x4a9a92
push 0x80070057
call fcn.00401480
movzx eax, word [ecx]
push 0x628760
cmp ax, 0x2f
push 0x628760
lea ecx, [esp + 0x70]
sete byte [esp + 0x1b]
call fcn.0049a8c0
mov ecx, eax
call fcn.0049ac70
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx - 0xc]
cmp eax, edi
jle 0x4a9ade
push 0x20
push ecx
call fcn.005c6579
mov ecx, dword [esp + 0x70]
add esp, 8
cmp eax, edi
je 0x4a9ade
sub eax, ecx
sar eax, 1
mov esi, eax
jns 0x4a9ae1
mov esi, dword [ecx - 0xc]
push esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x70]
call fcn.00458780
mov ecx, eax
mov byte [esp + 0x5c], 1
call fcn.0049a860
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00414870
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a9b36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x70]
call fcn.0045a5c0
mov ecx, eax
mov byte [esp + 0x5c], 4
call fcn.0045a7a0
mov ecx, eax
call fcn.0045a7f0
push eax
lea ecx, [esp + 0x6c]
call fcn.004189d0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a9b87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov byte [esp + 0x5c], 6
mov bl, 0xb
mov edi, edi
mov eax, dword [esp + 0x68]
cmp dword [eax - 0xc], 0
jle 0x4a9f4c
push 0x3d
push eax
call fcn.005c6579
add esp, 8
test eax, eax
je 0x4a9f4c
sub eax, dword [esp + 0x68]
sar eax, 1
mov ebp, eax
test ebp, ebp
jle 0x4a9f4c
push ebp
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x70]
call fcn.00458780
mov ecx, eax
mov byte [esp + 0x5c], 7
call fcn.0045a7a0
mov ecx, eax
call fcn.0045a7f0
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x4a9c23
push esi
mov ecx, edi
call fcn.004121e0
mov eax, dword [edi]
lea edx, [esi + 1]
push edx
push eax
call fcn.005c6df7
add esp, 8
test esi, esi
jl 0x4a9a88
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4a9a88
mov dword [eax - 0xc], esi
mov eax, dword [edi]
push edi
lea ecx, [esp + 0x48]
mov word [eax + esi*2], 0
call fcn.004a7a70
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a9c7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
push ebp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x70]
call fcn.0045a5c0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x60], 8
call fcn.004189d0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a9cc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
test esi, esi
jl 0x4a9a88
mov eax, dword [esp + 0x68]
cmp esi, dword [eax - 0xc]
jg 0x4a9a88
movzx eax, word [eax + esi*2]
movzx ecx, ax
push ecx
call fcn.005bfb0c
add esp, 4
test eax, eax
je 0x4a9cf5
add esi, 1
jmp 0x4a9cc7
push esi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x70]
call fcn.0045a5c0
mov ecx, dword [eax]
mov esi, dword [esp + 0x68]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x5c], 9
je 0x4a9d60
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4a9d52
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a9d52
push eax
call fcn.00414870
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4a9d49
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x68], ebp
jmp 0x4a9d60
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.00412960
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a9d85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x4a9a88
movzx edx, word [ecx]
cmp dx, 0x22
jne 0x4a9def
push 1
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x70]
call fcn.0045a5c0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x60], 0xa
call fcn.004189d0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a9de1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x68]
cmp dword [ecx - 0xc], 0
jle 0x4a9e10
push 0x22
jmp 0x4a9df5
test eax, eax
jle 0x4a9e10
push 0x20
push ecx
call fcn.005c6579
mov ecx, dword [esp + 0x70]
add esp, 8
test eax, eax
je 0x4a9e10
sub eax, ecx
sar eax, 1
mov ebp, eax
test ebp, ebp
jge 0x4a9e13
mov ebp, dword [ecx - 0xc]
push ebp
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x70]
call fcn.00458780
mov ecx, eax
mov byte [esp + 0x5c], bl
call fcn.0045a7a0
mov ecx, eax
call fcn.0045a7f0
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x4a9e54
push esi
mov ecx, edi
call fcn.004121e0
mov eax, dword [edi]
lea edx, [esi + 1]
push edx
push eax
call fcn.005c6df7
add esp, 8
test esi, esi
jl 0x4a9a88
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4a9a88
mov dword [eax - 0xc], esi
mov eax, dword [edi]
push edi
lea ecx, [esp + 0x38]
mov word [eax + esi*2], 0
call fcn.004a7a70
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a9eb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
push ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x70]
call fcn.0045a5c0
mov ecx, dword [eax]
mov esi, dword [esp + 0x68]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x5c], 0xc
je 0x4a9f1e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4a9f10
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a9f10
push eax
call fcn.00414870
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4a9f07
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x68], ebp
jmp 0x4a9f1e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.00412960
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a9bb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4a9bb0
mov esi, dword [esp + 0x14]
mov ecx, 0x628754
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a9f7d
test dx, dx
je 0x4a9f79
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a9f7d
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a9f57
xor eax, eax
jmp 0x4a9f82
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4aa50e
mov ecx, 0x628750
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a9fbc
test dx, dx
je 0x4a9fb8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a9fbc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a9f96
xor eax, eax
jmp 0x4a9fc1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4aa4f2
lea ecx, [esp + 0x14]
push 0x628740
push ecx
call fcn.00499060
add esp, 8
test al, al
jne 0x4aa4f2
lea edx, [esp + 0x14]
push 0x62873c
push edx
call fcn.00499060
add esp, 8
test al, al
jne 0x4aa4d0
lea eax, [esp + 0x14]
push 0x628734
push eax
call fcn.00499060
add esp, 8
test al, al
jne 0x4aa4d0
lea ecx, [esp + 0x14]
push 0x628730
push ecx
call fcn.00499060
add esp, 8
test al, al
je 0x4aa05a
cmp byte [esp + 0x13], 0
jne 0x4aa047
mov ecx, dword [esp + 0x6c]
mov al, 1
mov byte [ecx + 0x7d], al
jmp 0x4aa50e
mov edx, dword [esp + 0x70]
mov al, byte [edx + 0x7d]
mov ecx, dword [esp + 0x6c]
mov byte [ecx + 0x7d], al
jmp 0x4aa50e
lea edx, [esp + 0x14]
push 0x62872c
push edx
call fcn.00499060
add esp, 8
test al, al
jne 0x4aa4ae
lea eax, [esp + 0x14]
push str.strike
push eax
call fcn.00499060
add esp, 8
test al, al
jne 0x4aa4ae
lea ecx, [esp + 0x14]
push 0x628714
push ecx
call fcn.00499060
add esp, 8
test al, al
jne 0x4aa4ae
lea edx, [esp + 0x14]
push str.font
push edx
call fcn.00499060
add esp, 8
test al, al
je 0x4aa3fa
cmp byte [esp + 0x13], 0
jne 0x4aa3bf
xor esi, esi
cmp dword [esp + 0x48], esi
jbe 0x4aa50e
mov edi, dword [esp + 0x6c]
lea ecx, [ecx]
push esi
lea ecx, [esp + 0x38]
call fcn.004983f0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4aa3ad
push str.face
push esi
lea ecx, [esp + 0x4c]
call fcn.004983f0
push eax
call fcn.00499060
add esp, 8
test al, al
je 0x4aa12c
push esi
lea ecx, [esp + 0x38]
call fcn.004983f0
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x50]
call fcn.00405fe0
jmp 0x4aa3ad
push str.size
push esi
lea ecx, [esp + 0x4c]
call fcn.004983f0
push eax
call fcn.00499060
add esp, 8
test al, al
je 0x4aa201
push esi
lea ecx, [esp + 0x38]
call fcn.004983f0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x4a9a88
movzx eax, word [eax]
cmp ax, 0x2b
push esi
lea ecx, [esp + 0x38]
jne 0x4aa197
call fcn.004983f0
mov eax, dword [eax]
push 0xa
push 0
push eax
call fcn.005c6792
mov dword [esp + 0x7c], eax
fild dword [esp + 0x7c]
add esp, 0xc
fadd qword [edi + 0x58]
fstp qword [edi + 0x58]
jmp 0x4aa3ad
call fcn.004983f0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x4a9a88
movzx eax, word [eax]
cmp ax, 0x2d
push esi
lea ecx, [esp + 0x38]
jne 0x4aa1dd
call fcn.004983f0
mov eax, dword [eax]
push 0xa
push 0
push eax
call fcn.005c6792
mov dword [esp + 0x7c], eax
fild dword [esp + 0x7c]
add esp, 0xc
fsubr qword [edi + 0x58]
fstp qword [edi + 0x58]
jmp 0x4aa3ad
call fcn.004983f0
mov eax, dword [eax]
push 0xa
push 0
push eax
call fcn.005c6792
mov dword [esp + 0x7c], eax
fild dword [esp + 0x7c]
add esp, 0xc
fstp qword [edi + 0x58]
jmp 0x4aa3ad
push str.color
push esi
lea ecx, [esp + 0x4c]
call fcn.004983f0
push eax
call fcn.00499060
add esp, 8
test al, al
je 0x4aa292
xor ebp, ebp
push 0x23
push esi
lea ecx, [esp + 0x3c]
call fcn.004983f0
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.00417db0
lea ecx, [esp + 0x34]
push ecx
call fcn.00494560
add esp, 8
mov ecx, eax
mov byte [esp + 0x60], 0xd
call fcn.00429760
push eax
lea ecx, [esp + 0x70]
call fcn.00404170
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 6
call fcn.00401aa0
mov ebx, dword [esp + 0x6c]
lea edx, [esp + 0x28]
push edx
push ebx
mov ecx, 0x6f956c
call fcn.004e6240
test al, al
je 0x4aa36b
mov eax, dword [esp + 0x28]
mov dword [edi + ebp*4 + 0x38], eax
jmp 0x4aa388
push str.outline_color
push esi
lea ecx, [esp + 0x4c]
call fcn.004983f0
push eax
call fcn.00499060
add esp, 8
test al, al
je 0x4aa2b8
mov ebp, 2
jmp 0x4aa21f
push str.outline_level
push esi
lea ecx, [esp + 0x4c]
call fcn.004983f0
push eax
call fcn.00499060
add esp, 8
test al, al
je 0x4aa300
push esi
lea ecx, [esp + 0x38]
call fcn.004983f0
mov eax, dword [eax]
push 0xa
push 0
push eax
call fcn.005c6792
mov dword [esp + 0x7c], eax
fild dword [esp + 0x7c]
add esp, 0xc
fst qword [edi + 0x20]
fstp qword [edi + 0x18]
jmp 0x4aa3ad
push str.shadow_color
push esi
lea ecx, [esp + 0x4c]
call fcn.004983f0
push eax
call fcn.00499060
add esp, 8
test al, al
je 0x4aa326
mov ebp, 3
jmp 0x4aa21f
push 0x62868c
push esi
lea ecx, [esp + 0x4c]
call fcn.004983f0
push eax
call fcn.00499060
add esp, 8
test al, al
je 0x4aa3ad
push esi
lea ecx, [esp + 0x38]
call fcn.004983f0
mov eax, dword [eax]
push 0xa
push 0
push eax
call fcn.005c6792
mov dword [esp + 0x7c], eax
fild dword [esp + 0x7c]
add esp, 0xc
fst qword [edi + 0x30]
fstp qword [edi + 0x28]
jmp 0x4aa3ad
push 0x10
push 0
push ebx
call fcn.005c2719
add esp, 0xc
test eax, eax
mov dword [edi + ebp*4 + 0x38], eax
jne 0x4aa388
mov dword [edi + ebp*4 + 0x38], 0xffffff
mov eax, dword [edi + ebp*4 + 0x38]
movzx edx, byte [edi + ebp*4 + 0x3a]
movzx ecx, al
shl ecx, 0x10
or ecx, edx
and eax, 0xff00
or ecx, eax
mov dword [edi + ebp*4 + 0x38], ecx
lea ecx, [esp + 0x6c]
call fcn.00401aa0
add esi, 1
cmp esi, dword [esp + 0x48]
jb 0x4aa0e0
jmp 0x4aa50e
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
lea eax, [esi + 0x50]
push eax
lea ecx, [edi + 0x50]
call fcn.00404700
fld qword [esi + 0x58]
lea eax, [esi + 0x38]
fstp qword [edi + 0x58]
mov edx, dword [eax]
lea ecx, [edi + 0x38]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
jmp 0x4aa50e
lea ecx, [esp + 0x14]
push 0x628688
push ecx
call fcn.00499060
add esp, 8
test al, al
je 0x4aa473
mov edi, 1
cmp dword [esp + 0x48], edi
jne 0x4aa473
push 0x628684
push 0
lea ecx, [esp + 0x4c]
call fcn.004983f0
push eax
call fcn.00499060
add esp, 8
test al, al
je 0x4aa473
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x130]
push 0
lea ecx, [esp + 0x38]
mov dword [esi + 0x128], edi
mov dword [esi + 0x12c], edx
call fcn.004983f0
mov eax, dword [eax]
push 0xa
push 0
push eax
call fcn.005c6792
add esp, 0xc
add dword [esi + 0x130], eax
jmp 0x4aa50e
lea ecx, [esp + 0x34]
call fcn.004a8a40
lea ecx, [esp + 0x44]
call fcn.004a8a40
lea ecx, [esp + 0x14]
call fcn.004120a0
lea ecx, [esp + 0x68]
call fcn.004120a0
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10
cmp byte [esp + 0x13], 0
jne 0x4aa4c0
mov ecx, dword [esp + 0x6c]
mov al, 1
mov byte [ecx + 0x7e], al
jmp 0x4aa50e
mov eax, dword [esp + 0x70]
mov al, byte [eax + 0x7e]
mov ecx, dword [esp + 0x6c]
mov byte [ecx + 0x7e], al
jmp 0x4aa50e
cmp byte [esp + 0x13], 0
jne 0x4aa4e2
mov ecx, dword [esp + 0x6c]
mov al, 1
mov byte [ecx + 0x7c], al
jmp 0x4aa50e
mov edx, dword [esp + 0x70]
mov al, byte [edx + 0x7c]
mov ecx, dword [esp + 0x6c]
mov byte [ecx + 0x7c], al
jmp 0x4aa50e
cmp byte [esp + 0x13], 0
jne 0x4aa500
mov eax, 0x2bc
jmp 0x4aa507
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x78]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x78], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4aa52e
mov edx, dword [esp + 0x38]
push edx
push eax
call fcn.004a7b00
mov eax, dword [esp + 0x3c]
push eax
call fcn.005bfb1a
add esp, 0xc
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4aa54e
mov ecx, dword [esp + 0x48]
push ecx
push eax
call fcn.004a7b00
mov edx, dword [esp + 0x4c]
push edx
call fcn.005bfb1a
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4aa573
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x5c], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4aa597
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 0x10