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

Disassembly:
push 0xffffffffffffffff
push 0x568bc1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov al, byte [esp + 0x5c]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov byte [esp + 0x4c], al
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push 6
push 0x5a99f8
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], ebx
call fcn.005318a0
push 6
push 0x59c0fc
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.005318a0
push 6
push 0x59c0f4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 2
call fcn.005318a0
mov cl, byte [esp + 0x6c]
mov byte [esp + 0x12], bl
mov byte [esp + 0x3c], cl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
push ebx
push ebx
push ecx
mov byte [esp + 0x70], 4
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x74], 5
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x59c0ec
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x74], 4
call fcn.00533b90
mov ecx, esi
call fcn.004abe40
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x20], 1
and ebp, 0xff
mov dword [esp + 0x34], ebp
lea edi, [ebp + ebp*4]
shl edi, 3
mov al, byte [edi + 0x579ae6]
mov dx, word [edi + 0x579ad8]
mov cl, byte [edi + 0x579aee]
mov byte [esp + 0x13], al
mov al, byte [edi + 0x579af7]
mov word [esp + 0x2c], dx
mov dx, word [edi + 0x579ada]
cmp al, 1
mov byte [esp + 0x28], cl
mov word [esp + 0x24], dx
jb 0x4a98f4
movsx eax, word [esp + 0x20]
mov cl, byte [eax + edi + 0x579af7]
push ecx
mov ecx, esi
call fcn.004aa870
test ax, ax
je 0x4a9933
mov eax, dword [esp + 0x20]
movzx dx, byte [edi + 0x579af7]
inc eax
cmp ax, dx
mov dword [esp + 0x20], eax
jle 0x4a98c5
sub ebp, 4
je 0x4a99ba
sub ebp, 2
je 0x4a99ba
dec ebp
jne 0x4a99c4
push ebx
lea eax, [esi + 0xc]
push 1
push eax
push 0x5a993e
lea ecx, [esi + 0xa4]
call fcn.004551e0
mov cl, byte [edi + 0x579af0]
mov byte [esp + 0x12], cl
jmp 0x4a99c4
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4a9958
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a994f
cmp al, 0xff
je 0x4a994f
dec al
mov byte [ecx], al
jmp 0x4a9958
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 2
call fcn.00531940
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], bl
call fcn.00531940
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x4aa264
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4a99a7
jmp 0x4aa260
mov dl, byte [edi + 0x579af0]
mov byte [esp + 0x12], dl
cmp word [esp + 0x24], bx
je 0x4a9a28
xor eax, eax
lea ecx, [esp + 0x14]
mov al, byte [esp + 0x25]
push eax
push 4
call fcn.00531ad0
mov ecx, dword [esp + 0x24]
push ecx
push 5
lea ecx, [esp + 0x1c]
call fcn.00531ad0
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x78], 6
call fcn.00531810
mov ecx, 0x5c6628
mov byte [esp + 0x74], 4
call fcn.00533b90
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x28]
cmp cl, al
jbe 0x4a9a67
mov ecx, dword [esp + 0x28]
push ebx
and ecx, 0xff
lea edx, [esi + 0xc]
push 1
push edx
movzx ax, byte [ecx + edi + 0x579aee]
movsx eax, ax
lea eax, [eax + eax*4]
lea ecx, [eax*2 + 0x5a98bc]
push ecx
lea ecx, [esi + 0xa4]
call fcn.004551e0
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x74], 7
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x59c0e4
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x74], 4
call fcn.00533b90
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x4c]
push edx
push eax
mov ecx, esi
call fcn.004aa600
mov ecx, dword [esp + 0x2c]
mov byte [esi + 0x94], bl
push ecx
push 5
lea ecx, [esp + 0x24]
call fcn.00531ad0
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00531810
mov ecx, dword [0x5c6634]
call fcn.005396d0
movzx ax, byte [esp + 0x13]
cmp ax, 1
jl 0x4a9b38
movsx eax, ax
lea ebp, [edi + 0x579ae7]
mov dword [esp + 0x28], eax
mov cl, byte [ebp]
push ecx
push 5
lea ecx, [esp + 0x20]
call fcn.00531ad0
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00531810
mov ecx, dword [0x5c6634]
call fcn.00539850
mov eax, dword [esp + 0x28]
inc ebp
dec eax
mov dword [esp + 0x28], eax
jne 0x4a9aff
mov cl, byte [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
mov dword [esp + 0x38], eax
mov byte [eax], cl
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
jne 0x4a9b57
xor eax, eax
jmp 0x4a9b60
mov eax, dword [esp + 0x64]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jge 0x4a9b66
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00556a96
mov ecx, dword [esp + 0x3c]
mov ebp, eax
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x40], ecx
cmp eax, ecx
mov dword [esp + 0x34], eax
je 0x4a9bcf
mov dword [esp + 0x48], ebp
cmp ebp, ebx
mov byte [esp + 0x74], 8
je 0x4a9bb0
mov edx, dword [esp + 0x34]
mov ecx, ebp
push edx
call fcn.00531810
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
add eax, 4
add ebp, 4
cmp eax, ecx
mov byte [esp + 0x74], 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], eax
jne 0x4a9b97
mov eax, dword [esp + 0x38]
mov ecx, esi
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
call fcn.004aa410
cmp ax, bx
je 0x4a9d2c
mov ecx, dword [0x5c6634]
call fcn.00539bf0
mov bp, ax
inc ebp
cmp bp, bx
je 0x4a9aca
mov eax, dword [esp + 0x34]
add eax, 0xfffffffc
cmp eax, 0xd
ja case.0x4a9c19.6
xor ecx, ecx
mov cl, byte [eax + 0x4aa3f8]
jmp dword [ecx*4 + 0x4aa3ec]
mov dl, byte [edi + 0x579af3]
mov al, byte [edi + 0x579af4]
movsx ecx, bp
dec ecx
mov byte [esp + 0x20], dl
je 0x4a9c67
dec ecx
je 0x4a9c45
dec ecx
je 0x4a9db3
jmp 0x4a9aca
mov cl, byte [edi + 0x579af2]
mov dl, byte [esp + 0x12]
mov byte [esp + 0x6c], cl
mov cl, byte [edi + 0x579af0]
cmp dl, cl
jbe 0x4a9aca
mov cl, dl
sub cl, al
jmp 0x4a9c87
mov cl, byte [edi + 0x579af2]
mov dl, byte [esp + 0x12]
mov byte [esp + 0x6c], cl
mov cl, byte [edi + 0x579aef]
cmp dl, cl
jae 0x4a9aca
mov cl, dl
add cl, al
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
and eax, 0xff
and edx, 0xff
mov byte [esp + 0x12], cl
push ebx
lea eax, [eax + eax*4]
push 1
shl eax, 1
mov byte [edx + eax + 0x5a98bc], cl
lea ecx, [esi + 0xc]
lea edx, [eax + 0x5a98bc]
push ecx
push edx
lea ecx, [esi + 0xa4]
call fcn.004551e0
jmp 0x4a9aca
movsx eax, bp
dec eax
je 0x4a9f03
dec eax
je 0x4a9e75
jmp 0x4a9aca
movsx eax, bp
mov al, byte [eax + edi + 0x579aee]
cmp al, 0xff
mov byte [esp + 0x6c], al
je 0x4a9d16
mov eax, dword [esp + 0x6c]
push ebx
and eax, 0xff
lea ecx, [esi + 0xc]
push 1
push ecx
lea edx, [eax + eax*4]
lea ecx, [esi + 0xa4]
lea eax, [edx*2 + 0x5a98bc]
push eax
call fcn.004551e0
movzx cx, byte [edi + 0x579ae6]
cmp bp, cx
je 0x4aa340
jmp 0x4a9aca
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4a9d51
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a9d48
cmp al, 0xff
je 0x4a9d48
dec al
mov byte [ecx], al
jmp 0x4a9d51
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 2
call fcn.00531940
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], bl
call fcn.00531940
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x4aa264
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4a9da0
jmp 0x4aa260
movsx edx, bp
push ebx
lea ecx, [esi + 0xc]
mov al, byte [edx + edi + 0x579aee]
push 1
mov byte [esp + 0x74], al
mov eax, dword [esp + 0x74]
and eax, 0xff
push ecx
lea ecx, [esi + 0xa4]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x5a98bc]
push eax
call fcn.004551e0
mov ecx, esi
call fcn.004abee0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4a9e13
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a9e0a
cmp al, 0xff
je 0x4a9e0a
dec al
mov byte [ecx], al
jmp 0x4a9e13
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 2
call fcn.00531940
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], bl
call fcn.00531940
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x4aa3c9
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4a9e62
jmp 0x4aa3c5
mov ecx, esi
call fcn.004abee0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4a9ea1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a9e98
cmp al, 0xff
je 0x4a9e98
dec al
mov byte [ecx], al
jmp 0x4a9ea1
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 2
call fcn.00531940
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], bl
call fcn.00531940
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x4aa3c9
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4a9ef0
jmp 0x4aa3c5
cmp word [esi + 0x98], 0x42
mov ecx, esi
jge 0x4a9fdc
call fcn.004abee0
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x74], 9
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x5a0848
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x74], 4
call fcn.00533b90
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4a9f7a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a9f71
cmp al, 0xff
je 0x4a9f71
dec al
mov byte [ecx], al
jmp 0x4a9f7a
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 2
call fcn.00531940
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], bl
call fcn.00531940
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x4aa3c9
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4a9fc9
jmp 0x4aa3c5
call fcn.004abee0
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x74], 0xa
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x59d1d4
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x74], 4
call fcn.00533b90
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x74], 0xb
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x5a99f0
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x74], 4
call fcn.00533b90
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x74], 0xc
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x5a99e8
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x74], 4
call fcn.00533b90
movsx ecx, bp
push ebx
lea eax, [esi + 0xc]
mov dl, byte [ecx + edi + 0x579aee]
push 1
mov byte [esp + 0x74], dl
push eax
mov eax, dword [esp + 0x78]
and eax, 0xff
lea ecx, [eax + eax*4]
lea edx, [ecx*2 + 0x5a98bc]
lea ecx, [esi + 0xa4]
push edx
call fcn.004551e0
mov byte [esi + 0x94], bl
lea eax, [esp + 0x3c]
mov byte [esi + 0x95], bl
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x5a99e0
mov byte [esi + 0x96], bl
call fcn.005318a0
mov ecx, esi
call fcn.004a8ec0
cmp ax, bx
je 0x4aa117
test byte [esi + 0x34], 0x20
je 0x4aa19e
test byte [esi + 0x36], 0x80
jne 0x4aa275
jmp 0x4aa0d1
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4aa13c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4aa133
cmp al, 0xff
je 0x4aa133
dec al
mov byte [ecx], al
jmp 0x4aa13c
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 2
call fcn.00531940
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], bl
call fcn.00531940
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x4aa264
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4aa18b
jmp 0x4aa260
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x74], 0xd
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x5a99d8
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x74], 4
call fcn.00533b90
mov ecx, esi
call fcn.004abee0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4aa207
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4aa1fe
cmp al, 0xff
je 0x4aa1fe
dec al
mov byte [ecx], al
jmp 0x4aa207
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 2
call fcn.00531940
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], bl
call fcn.00531940
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x4aa264
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4aa252
mov esi, dword [esp + 0x50]
push esi
call fcn.00556360
add esp, 4
xor ax, ax
jmp 0x4aa3d6
mov ecx, esi
call fcn.004abee0
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x74], 0xe
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x59cccc
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x74], 4
call fcn.00533b90
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4aa2de
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4aa2d5
cmp al, 0xff
je 0x4aa2d5
dec al
mov byte [ecx], al
jmp 0x4aa2de
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 2
call fcn.00531940
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], bl
call fcn.00531940
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x4aa3c9
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4aa32d
jmp 0x4aa3c5
mov ecx, esi
call fcn.004abee0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4aa36c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4aa363
cmp al, 0xff
je 0x4aa363
dec al
mov byte [ecx], al
jmp 0x4aa36c
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 2
call fcn.00531940
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00531940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], bl
call fcn.00531940
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x4aa3c9
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4aa3b7
mov esi, dword [esp + 0x50]
push esi
call fcn.00556360
add esp, 4
mov ax, 1
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 4
add byte [eax], al
pop ebx
add esp, 0x28
ret 0x10