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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 0x1c]
xor esi, esi
push 0xffffffffffffffff
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
jne 0x4219e8
mov edi, edi
cmp dword [edi + 0x24], esi
jne 0x4219e6
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov edx, eax
add eax, 1
mov dword [edi + 0x30], eax
mov ebx, ecx
lea eax, [esp + 0x20]
push eax
push ebx
push edx
push esi
push esi
push esi
adc ecx, esi
push esi
mov eax, edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
mov dword [edi + 0x34], ecx
call fcn.00420e40
mov ecx, dword [edi + 0x70]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
cmp eax, esi
jne 0x42142e
cmp dword [esp + 0x20], 0
jne 0x42142e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x64]
sub eax, dword [edi + 0x60]
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x42107b
mov ecx, dword [edi]
mov eax, dword [edi + 0x14]
mov edx, dword [eax]
add ecx, 0x10
push ecx
push eax
call edx
mov dword [esp + 0x50], eax
test eax, eax
je 0x421387
mov ecx, dword [esp + 0x34]
mov dword [eax], 0
test ecx, ecx
je 0x421075
mov dword [ecx], eax
jmp 0x42107b
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov esi, dword [esp + 0x28]
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
test esi, esi
je 0x4210b1
mov edx, dword [edi + 0x5c]
mov eax, dword [edi + 0x60]
lea ecx, [edx + eax + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x54], esi
mov dword [esp + 0x2c], ecx
jmp 0x4211ba
mov ebx, dword [edi]
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0xc]
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0xb0], eax
test ebx, ebx
je 0x421106
jmp 0x4210d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
call eax
mov ecx, dword [esp + 0x10]
add dword [esp + 0x14], ecx
add esi, ecx
sub ebx, ecx
test eax, eax
jne 0x421288
test ecx, ecx
je 0x421106
test ebx, ebx
jne 0x4210d0
mov dword [esp + 0x14], 0
xor eax, eax
add dword [esp + 0x18], esi
adc dword [esp + 0x1c], eax
cmp dword [esp + 0x34], eax
jne 0x421122
mov dword [esp + 0x54], esi
add dword [edi + 0x68], esi
mov ebx, 1
adc dword [edi + 0x6c], eax
xor eax, eax
cmp esi, dword [edi]
setne al
mov dword [esp + 0x10], eax
test eax, eax
je 0x42113f
mov dword [edi + 0x70], ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x421159
mov dword [edi + 0x48], eax
mov dword [edi + 0x70], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [esp + 0x4c]
mov dword [esp + 0xb4], ecx
jne 0x421176
cmp eax, ebx
jb 0x4211bf
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push 0
push 0
push 0
push 0
mov eax, edi
call fcn.00420e40
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42142e
cmp dword [esp + 0x20], eax
jne 0x4213db
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov ebx, 1
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp dword [esp + 0x34], ecx
mov dword [esp + 0x94], edx
sete cl
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0x90]
push edx
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x94], ecx
mov ecx, dword [edi + 0x18]
push edx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xac], ebx
mov ecx, dword [ecx]
push eax
call ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x30], edx
cmp dword [esp + 0xa0], ebx
je 0x421291
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x98]
test ecx, ecx
je 0x42124e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push ebx
push eax
push ecx
call fcn.00429520
mov ecx, dword [esp + 0x34]
add esp, 0xc
add dword [edi + 0x60], ebx
mov eax, dword [esp + 0xa0]
xor edx, edx
cmp eax, edx
jne 0x4212cf
cmp dword [esp + 0x10], edx
jne 0x4212dc
cmp ebx, esi
jne 0x4212c2
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
mov dword [esp + 0x50], eax
cmp ecx, edx
je 0x421041
xor eax, eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
jmp 0x42103d
mov dword [esp + 0x14], eax
jmp 0x42110e
mov dword [esp + 0x10], ebx
mov dword [esp + 0x84], ebx
xor ebx, ebx
cmp dword [esp + 0x28], ebx
je 0x4212b7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push esi
push ecx
push edx
call fcn.00429520
add esp, 0xc
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
jmp 0x4213d4
mov dword [esp + 0x14], 0xb
jmp 0x42142e
cmp eax, 3
jne 0x4212dc
mov dword [esp + 0x10], 1
mov dword [esp + 0x44], 1
cmp ebx, esi
jne 0x4212f3
mov dword [edi + 0x60], edx
mov dword [edi + 0x64], edx
jmp 0x4213d4
cmp eax, 3
jne 0x421351
mov dword [edi + 0x60], edx
mov dword [edi + 0x64], edx
cmp ecx, edx
je 0x421323
mov ecx, dword [esp + 0x2c]
mov eax, esi
sub eax, ebx
push eax
lea edx, [ebx + ecx]
add ebx, dword [esp + 0x28]
push edx
push ebx
call fcn.00429520
mov ebx, dword [esp + 0xa4]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
sub esi, ebx
sub dword [esp + 0x18], esi
lea edx, [ebx + ecx]
mov dword [esp + 0x74], esi
sbb dword [esp + 0x1c], 0
cmp dword [esp + 0x34], 0
mov dword [esp + 0x68], edx
jne 0x4213d4
mov dword [esp + 0x54], ebx
jmp 0x4213d4
cmp ecx, edx
je 0x42135f
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
jmp 0x4213c1
mov eax, dword [edi + 0x5c]
cmp eax, edx
jne 0x421382
mov ecx, dword [edi]
mov eax, dword [edi + 0x14]
mov edx, dword [eax]
add ecx, 0x10
push ecx
push eax
call edx
test eax, eax
je 0x421387
mov ebx, dword [esp + 0x98]
mov dword [edi + 0x5c], eax
add eax, 0x10
jne 0x421396
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x70], eax
jmp 0x4213d4
sub esi, ebx
sub dword [esp + 0x18], esi
mov ecx, 0
push esi
sbb dword [esp + 0x20], ecx
add ebx, dword [esp + 0x30]
mov dword [edi + 0x64], esi
push ebx
push eax
mov dword [edi + 0x60], ecx
call fcn.00429520
mov ebx, dword [esp + 0xa4]
add esp, 0xc
cmp dword [esp + 0x34], 0
jne 0x4213cc
mov dword [esp + 0x54], ebx
mov dword [esp + 0x10], 0
cmp dword [esp + 0x14], 0
jne 0x42142e
lea ebx, [edi + 0xb0]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x88], 0
je 0x421415
mov edx, dword [esp + 0x5c]
cmp edx, dword [edi + 0x94]
jb 0x421415
ja 0x42140b
mov eax, dword [esp + 0x58]
cmp eax, dword [edi + 0x90]
jbe 0x421415
mov dword [esp + 0x20], 1
jmp 0x42141d
mov dword [esp + 0x20], 0
mov esi, dword [edi + 0x9c]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x14], ebx
jne 0x42146d
cmp dword [esp + 0x44], ebx
je 0x421467
cmp dword [esp + 0x20], ebx
jne 0x42146d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
push eax
mov eax, dword [ecx + 4]
push edx
call eax
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x421475
mov dword [esp + 0x44], ebx
jmp 0x42146d
cmp dword [esp + 0x20], ebx
je 0x421475
mov dword [esp + 0x10], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x50], ebx
cmp dword [esp + 0x10], ebx
jne 0x4214eb
mov eax, dword [edi + 0x58]
cmp eax, dword [edi + 0x54]
jae 0x4214bf
cmp dword [esp + 0x30], ebx
je 0x4214bf
lea ecx, [eax + eax*4 + 0x19]
lea esi, [edi + ecx*8]
call fcn.00420c10
cmp eax, ebx
jne 0x4214a6
inc dword [edi + 0x58]
jmp 0x4214bf
mov ecx, dword [edi + 0x58]
cmp ecx, 1
jne 0x4214bc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], eax
jmp 0x4214eb
mov dword [edi + 0x54], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
inc ecx
cmp ecx, dword [edi + 0x58]
sbb eax, eax
and eax, ecx
lea eax, [eax + eax*4 + 0x19]
mov ecx, dword [edi + eax*8 + 0x1c]
lea eax, [edi + eax*8]
push ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x4219ce
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
cmp dword [esp + 0x14], esi
jne 0x42167f
cmp dword [esp + 0x44], esi
je 0x42167f
cmp dword [esp + 0x28], esi
jne 0x42167f
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov eax, 1
mov dword [esp + 0x24], ecx
cmp eax, esi
je 0x421546
mov edx, dword [esp + 0x54]
jmp 0x421566
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
sub ecx, ebx
sbb eax, dword [esp + 0x3c]
xor esi, esi
cmp esi, eax
jb 0x421564
ja 0x421562
cmp edx, ecx
jbe 0x421564
mov edx, ecx
xor esi, esi
add ebx, edx
adc dword [esp + 0x3c], esi
mov eax, 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], eax
cmp ebx, dword [esp + 0x18]
jne 0x421589
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x1c]
je 0x42158b
xor eax, eax
mov ecx, dword [edi + 0x18]
mov ecx, dword [ecx + 8]
lea ebx, [esp + 0x30]
push ebx
lea ebx, [esp + 0x64]
push ebx
lea ebx, [esp + 0x40]
push ebx
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x38]
add edx, 0x10
push edx
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x1c]
push edx
push eax
call ecx
mov dword [esp + 0x28], eax
cmp eax, esi
jne 0x42166e
cmp dword [esp + 0x30], esi
jne 0x42167f
mov ebx, dword [esp + 0x38]
cmp ebx, dword [esp + 0x18]
jne 0x4215e5
mov edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0x1c]
je 0x42167f
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov ecx, ebx
sub ecx, dword [esp + 0x48]
sbb eax, dword [esp + 0x4c]
sub edx, dword [esp + 0x78]
sbb esi, dword [esp + 0x7c]
test eax, eax
ja 0x421617
jb 0x42160e
cmp ecx, 1
jae 0x421617
test esi, esi
jne 0x421617
cmp edx, 1
jb 0x42165f
lea ebx, [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x60]
push ebx
mov ebx, dword [esp + 0x60]
push ebx
push esi
push edx
push eax
push ecx
mov eax, edi
call fcn.00420e40
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42167f
cmp dword [esp + 0x20], eax
jne 0x42167f
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
xor eax, eax
xor esi, esi
jmp 0x421538
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
push eax
mov esi, edi
call fcn.00420f10
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
cmp eax, esi
jne 0x4219e8
mov edx, dword [esp + 0x6c]
mov ecx, 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
cmp dword [edi + 0x24], esi
jne 0x4219e6
cmp dword [edi + 0x50], esi
je 0x4216c1
mov dword [esp + 0x20], ecx
jmp 0x42170d
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x4216d6
mov dword [edi + 0x50], ecx
mov dword [edi + 0x4c], eax
mov edx, ecx
cmp eax, 2
je 0x4216da
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x4216ec
mov dword [edi + 0x50], ecx
mov dword [edi + 0x40], eax
mov dword [esp + 0x24], esi
cmp edx, esi
je 0x4216fa
mov dword [edi + 0x50], ecx
mov dword [edi + 0x38], ecx
mov dword [esp + 0x24], esi
cmp dword [esp + 0x84], esi
je 0x42170d
mov dword [edi + 0x50], ecx
mov dword [edi + 0x3c], ecx
mov dword [esp + 0x24], esi
cmp dword [esp + 0x44], esi
je 0x4217f7
cmp dword [esp + 0x20], esi
je 0x421735
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edx
jmp 0x421745
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
sub ecx, dword [esp + 0x48]
sbb eax, dword [esp + 0x4c]
sub esi, dword [esp + 0x78]
mov ebx, ecx
sbb edx, dword [esp + 0x7c]
mov dword [esp + 0x88], esi
lea esi, [edi + 0xb0]
push esi
mov dword [esp + 0xc0], eax
mov dword [esp + 0x90], edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [edi + 0xa0], ebx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x88]
adc dword [edi + 0xa4], eax
add dword [edi + 0xa8], ecx
mov edx, dword [esp + 0x8c]
adc dword [edi + 0xac], edx
cmp dword [edi + 0x9c], 0
jne 0x4217e8
mov eax, dword [edi + 0x98]
test eax, eax
je 0x4217e8
mov ecx, dword [edi + 0xac]
mov edx, dword [edi + 0xa8]
push ecx
mov ecx, dword [edi + 0xa4]
push edx
mov edx, dword [edi + 0xa0]
push ecx
push edx
push eax
mov eax, dword [eax]
call eax
test eax, eax
je 0x4217e8
mov dword [edi + 0x9c], 0xa
mov ebx, dword [edi + 0x9c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4217fb
mov ebx, dword [esp + 0x14]
xor ecx, ecx
cmp dword [esp + 0x10], ecx
sete cl
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x80], ecx
je 0x4218d2
test ebx, ebx
jne 0x42182b
cmp dword [esp + 0x24], ebx
je 0x42182b
cmp dword [esp + 0x20], ebx
jne 0x42182b
lea eax, [ebx + 1]
jmp 0x42182d
xor eax, eax
mov esi, dword [ebp + 8]
mov edx, dword [edi + 0x18]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [edi + 0x1c]
push eax
mov eax, dword [esi + 4]
push eax
push ecx
call edx
mov ebx, eax
test ebx, ebx
je 0x42186c
mov eax, 1
mov dword [esp + 0x34], eax
mov dword [edi + 0x50], eax
jmp 0x42187d
cmp dword [esp + 0x80], 0
jne 0x4218d5
cmp dword [esp + 0x10], 0
jne 0x4218d5
lea esi, [edi + 0xb0]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x88], 0
je 0x4218ad
mov eax, dword [esp + 0x5c]
cmp eax, dword [edi + 0x94]
ja 0x4218cb
jb 0x4218ad
mov ecx, dword [esp + 0x58]
cmp ecx, dword [edi + 0x90]
jae 0x4218cb
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x90], edx
mov dword [edi + 0x94], eax
mov dword [edi + 0x88], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp + 8]
cmp dword [esp + 0x30], 0
je 0x42193f
cmp dword [esp + 0x44], 0
je 0x421906
test ebx, ebx
jne 0x421906
cmp dword [edi + 0x50], ebx
jne 0x421906
cmp dword [esp + 0x28], ebx
jne 0x421906
cmp dword [esp + 0x20], ebx
jne 0x421906
cmp dword [edi + 0x84], ebx
jne 0x421918
cmp dword [esp + 0x34], ebx
je 0x42193f
cmp dword [edi + 0x84], 0
jne 0x421918
mov ecx, dword [esi + 4]
mov dword [edi + 0x80], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, eax
or edx, ecx
jne 0x42192c
cmp dword [esp + 0x10], edx
jne 0x421950
mov edx, dword [esp + 0x54]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
inc dword [edi + 0x84]
cmp dword [esp + 0x10], 0
jne 0x421950
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x20]
push ecx
jmp 0x421997
cmp dword [esp + 0x80], 0
je 0x421983
mov edx, dword [edi + 0xe8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x421990
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4219e8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 4], 0
je 0x4219e6
mov dword [edi + 0x24], 1
mov eax, dword [edi + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x42196b
mov eax, dword [esi + 0x1c]
xor ebx, ebx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x4219e8
xor esi, esi
jmp 0x420fb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x4219e8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4