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

Disassembly:
sub esp, 0xa4
push esi
mov esi, dword [esp + 0xb0]
test esi, esi
push edi
mov dword [esp + 0x10], 1
je 0x10031889
cmp dword [0x100593ac], 0
je 0x10030ca5
cmp dword [0x100593b8], 0
jg 0x10031889
mov edi, dword [esp + 0xb0]
cmp dword [edi + 0x18], 0
jne 0x10031889
push 0
push 0
push 0
push 0x15
push edi
call fcn.1001a2e0
add esp, 0x14
test eax, eax
jne 0x10031889
push 0x2c
push eax
lea eax, [esp + 0x58]
push eax
call fcn.10041850
add esp, 0xc
cmp dword [esi + 0x20], 0
je 0x10030d26
cmp dword [esi + 0x24], 0
jne 0x10030cfa
mov eax, esi
lea ecx, [ecx]
mov dword [eax + 0x24], esi
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x10030cf0
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
push ecx
push edx
push eax
push edi
mov edi, esi
call fcn.10030210
add esp, 0x10
pop edi
pop esi
add esp, 0xa4
ret
cmp dword [esp + 0xb8], 3
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x14], ecx
jg 0x10030d3e
mov dword [esi + 0x1c], 0
push 0
push esi
push edi
call fcn.10030a70
add esp, 0xc
test eax, eax
jne 0x1003185a
mov edx, dword [esp + 0x14]
mov eax, esi
mov ecx, dword [eax + 0xc]
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 8], ecx
movzx ecx, byte [eax + 7]
mov dword [esp + 0x28], edx
movzx edx, byte [eax + 5]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
je 0x1003185a
cmp dword [edi + 0x18], 0
jg 0x1003185a
mov eax, dword [esp + 0xb8]
cmp eax, 5
je 0x10030db0
cmp eax, 6
jne 0x10030dcc
mov ecx, dword [esp + 0x2c]
cmp dword [ecx], 1
jle 0x10030dcc
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push edi
call fcn.10017590
add esp, 8
jmp 0x1003185a
cmp eax, 3
jg 0x10030dd9
mov dword [esp + 0x14], 0
push ebp
push edi
call fcn.1000ee80
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10031859
mov esi, dword [esp + 0x34]
xor eax, eax
cmp word [esi], ax
push ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x14], eax
jle 0x10030edf
mov dword [esp + 0x20], eax
lea esp, [esp]
xor edx, edx
cmp dword [eax + esi + 0x18], edx
lea ecx, [eax + esi + 0x18]
mov dword [esp + 0x24], edx
je 0x10030ebe
cmp byte [eax + esi + 0x1c], dl
jne 0x10030ebe
mov eax, dword [eax + esi + 0xc]
cmp eax, edx
je 0x10030e50
mov edx, dword [edi + 0xb0]
mov dword [esp + 0x24], edx
mov dword [edi + 0xb0], eax
mov dword [esp + 0x28], 1
jmp 0x10030e54
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [eax + esi + 0x20]
mov eax, dword [ecx]
push ebx
push edx
push 8
push eax
push edi
call fcn.10030c70
add esp, 0x20
cmp dword [esp + 0x28], 0
je 0x10030e89
mov ecx, dword [esp + 0x24]
mov dword [edi + 0xb0], ecx
cmp dword [esp + 0xc0], 3
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x2c], edx
jle 0x10030ea4
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 5]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x14]
movsx edx, word [esi]
add ecx, 1
add eax, 0x30
cmp ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
jl 0x10030e10
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
push ebx
call fcn.10026780
add esp, 0xc
test eax, eax
jne 0x10031833
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x10030f56
cmp dword [esp + 0xd0], 0
je 0x10030f56
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xd0]
push edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0xd0]
push edx
push ecx
push eax
call fcn.1001bd60
add esp, 0x10
test eax, eax
je 0x10030f56
cmp dword [esp + 0x40], 0
je 0x10031858
mov edx, dword [esp + 0xd0]
mov dword [edx], 1
jmp 0x10031858
cmp dword [esp + 0x1c], 0
je 0x10030fa9
cmp dword [edi + 0x18], 0
jne 0x10031858
mov ebx, dword [esp + 0x1c]
push edi
mov eax, ebx
call fcn.100264a0
mov ecx, dword [edi + 0x1c]
mov dword [ebx + 8], ecx
add dword [edi + 0x1c], 1
mov edx, dword [ebx]
push 0xfffffffffffffff7
push eax
mov eax, dword [ebx + 8]
add edx, 2
push edx
push eax
push 0x78
push ebp
call fcn.10011e70
mov ebx, dword [esp + 0xd8]
mov esi, dword [esp + 0x54]
add esp, 0x1c
mov dword [esp + 0x24], eax
mov dword [ebx + 0x40], eax
jmp 0x10030fb1
mov dword [esp + 0x24], 0xffffffff
cmp dword [esp + 0xc0], 8
jne 0x10030fd5
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov eax, dword [esp + 0xc4]
push edx
push eax
push 0x78
push ebp
call fcn.10011e00
add esp, 0x10
push ebp
call fcn.10011eb0
mov dword [esp + 0x90], eax
push eax
mov eax, ebx
mov ecx, edi
call fcn.10026570
add esp, 8
cmp dword [esp + 0x28], 0
je 0x10031022
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x14], eax
add eax, 1
mov dword [edi + 0x1c], eax
mov eax, dword [ebx]
push edi
call fcn.100264a0
mov ecx, dword [esp + 0x18]
push 0xfffffffffffffff7
push eax
push 0
push ecx
push 0x78
push ebp
call fcn.10011e70
add esp, 0x1c
jmp 0x1003102a
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x40], 0
mov ebx, dword [esp + 0x10]
jne 0x100310df
test ebx, ebx
jne 0x100310df
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
push eax
push esi
push edi
call fcn.100281f0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10031858
mov eax, dword [esp + 0x24]
test eax, eax
mov ebx, dword [esp + 0x1c]
jl 0x10031089
test ebx, ebx
jne 0x10031089
push 1
push eax
push ebp
call fcn.1000ce00
mov ecx, dword [esp + 0xc8]
add esp, 0xc
mov dword [ecx + 0x40], 0xffffffff
mov edx, dword [esp + 0xd4]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0xd0]
push ecx
push ebx
push 0
push edx
push eax
push edi
xor eax, eax
call fcn.10015440
add esp, 0x2c
test eax, eax
jne 0x10031858
push esi
call fcn.10016230
add esp, 4
jmp 0x100317d1
push ebp
call fcn.10011eb0
mov dword [esp + 0x24], eax
xor eax, eax
add esp, 4
cmp ebx, eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], esi
mov dword [esp + 0xac], ecx
je 0x10031155
mov edx, dword [ebx]
add edx, 1
mov dword [esp + 0x64], edx
jmp 0x10031159
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x94]
push ecx
mov dword [esp + 0x68], ebx
call fcn.100199d0
add esp, 8
test eax, eax
jne 0x10031858
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x94]
push eax
call fcn.100199d0
add esp, 8
test eax, eax
jne 0x10031858
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100311b8
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.100199a0
add esp, 8
test eax, eax
jne 0x10031858
mov edx, dword [esp + 0x6c]
xor esi, esi
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x74], edx
jle 0x100311ff
xor ebx, ebx
lea ebx, [ebx]
mov eax, dword [esp + 0x78]
mov ecx, dword [ebx + eax]
mov edx, dword [ecx + 0x10]
push edx
lea eax, [esp + 0x94]
push eax
call fcn.100199d0
add esp, 8
test eax, eax
jne 0x10031858
add esi, 1
add ebx, 0x10
cmp esi, dword [esp + 0x7c]
jl 0x100311d0
call fcn.10008e80
test eax, eax
jne 0x10031858
cmp dword [esp + 0x10], eax
je 0x10031722
push ebp
call fcn.10011eb0
push ebp
mov ebx, eax
call fcn.10011eb0
push ebp
mov dword [esp + 0x60], eax
call fcn.10011eb0
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x68], eax
add eax, 1
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x1c]
push edi
call fcn.100264a0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push 0xfffffffffffffff7
push eax
push ecx
push edx
push 0x78
push ebp
mov dword [esp + 0x70], eax
call fcn.10011e70
mov esi, dword [edi + 0x20]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xac], eax
mov dword [esp + 0x50], esi
add esi, 1
lea eax, [esi + 1]
mov dword [edi + 0x20], eax
mov edx, dword [ecx]
mov dword [esp + 0x74], eax
add eax, edx
push esi
mov dword [edi + 0x20], eax
mov ecx, dword [ecx]
push 0
add ecx, eax
push 0x30
push ebp
mov dword [esp + 0x7c], eax
mov dword [edi + 0x20], ecx
call fcn.10011e00
mov edx, dword [esp + 0x60]
push edx
push 0
push 0x30
push ebp
call fcn.10011e00
add esp, 0x48
push ebx
push 0
push 0x5e
push ebp
call fcn.10011e00
mov eax, dword [ebp + 0x10]
push esi
push 1
push 0x30
push ebp
mov dword [esp + 0x5c], eax
call fcn.10011e00
push 0
push 0
push 0x16
push ebp
call fcn.10011e00
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x54], eax
add eax, 2
push eax
push ecx
push 5
push ebp
call fcn.10011e00
add esp, 0x40
push 0
push 0
push 0x16
push ebp
call fcn.10011e00
lea edx, [esp + 0x68]
push edx
mov eax, edi
call fcn.10015b90
add esp, 0x14
cmp dword [esp + 0x30], 0
je 0x1003132e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push 1
add eax, 1
push eax
push ecx
push edi
call fcn.100245a0
add esp, 0x10
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xc8]
add ecx, 1
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0xd0]
push ecx
mov ecx, dword [eax]
push edx
push 0
push ecx
push eax
push edi
xor eax, eax
call fcn.10015440
add esp, 0x2c
test eax, eax
mov dword [esp + 0x18], eax
jne 0x10031858
push eax
push eax
push 0x16
push ebp
call fcn.10011e00
mov esi, dword [ebp + 0x10]
lea edx, [esp + 0x68]
push edx
push edi
mov dword [esp + 0xa0], esi
call fcn.10026ba0
push 0
push 0
push 0x16
push ebp
call fcn.10011e00
push ebx
push ebp
call fcn.10005450
push esi
push 0
push 0x2e
push ebp
call fcn.10011e00
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
add esp, 0x40
lea eax, [esp + 0x10]
push eax
push ecx
push edx
push edi
call fcn.100281f0
mov esi, eax
add esp, 0x10
test esi, esi
mov dword [esp + 0x3c], esi
je 0x1003183b
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x10031406
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], ebx
jmp 0x100314ba
push ebx
push edi
mov dword [esp + 0x34], 1
call fcn.10005d50
mov edx, dword [esp + 0x64]
push 0
push edx
push 6
push ebp
call fcn.10011e00
mov ebx, dword [ebx]
add esp, 0x18
add ebx, 1
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x14], 0
jle 0x1003147d
mov eax, dword [esp + 0x68]
xor esi, esi
cmp dword [esi + eax + 0xc], ebx
jl 0x10031465
mov ecx, dword [esi + eax + 4]
mov edx, dword [esi + eax + 8]
mov eax, dword [esi + eax]
push ecx
push edx
push eax
push ebp
call fcn.10023980
mov eax, dword [esp + 0x78]
add esp, 0x10
add ebx, 1
mov ecx, dword [esp + 0x14]
add ecx, 1
add esi, 0x18
cmp ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
jl 0x10031441
mov esi, dword [esp + 0x3c]
push 0
push ebx
push 0x5a
push ebp
call fcn.10011e00
mov ecx, dword [esp + 0x6c]
push 0
push ecx
push 0x6e
push ebp
call fcn.10011e00
push esi
call fcn.10016230
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x80]
push edx
push eax
push 0x13
push ebp
call fcn.10011e00
add esp, 0x34
mov byte [esp + 0x59], 1
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
xor esi, esi
cmp dword [ebx], esi
mov dword [esp + 0x14], ecx
jle 0x1003152f
mov dword [esp + 0x18], esi
nop
cmp dword [esp + 0x2c], 0
je 0x100314ea
mov edx, dword [esp + 0x5c]
push esi
push edx
push 3
push ebp
call fcn.10011e00
add esp, 0x10
jmp 0x10031503
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x58], 1
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + ecx]
push edx
push edi
call fcn.10023a30
add esp, 8
mov eax, dword [ebx]
mov edx, dword [esp + 0x44]
sub eax, 1
xor ecx, ecx
cmp esi, eax
setl cl
lea eax, [esi + edx]
push ecx
push eax
push 0x7b
push ebp
call fcn.10011e00
add dword [esp + 0x28], 0xc
add esi, 1
add esp, 0x10
cmp esi, dword [ebx]
jl 0x100314d0
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
sub ebx, 1
mov dword [esp + 0x18], ebx
js 0x10031627
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
sub eax, 1
cmp ebx, eax
jge 0x10031564
mov ecx, dword [esp + 0x44]
push 0
lea edx, [ebx + ecx]
push edx
push 1
push ebp
call fcn.10011e00
add esp, 0x10
mov eax, dword [esp + 0x4c]
push 0
lea ecx, [ebx + eax]
push ecx
push 1
push ebp
call fcn.10011e00
add esp, 0x10
test ebx, ebx
jne 0x1003158b
mov edx, dword [esp + 0x50]
push edx
push 0x200
push 0x44
jmp 0x10031597
mov eax, dword [esp + 0x54]
push eax
push 0x200
push 0x43
push ebp
call fcn.10011e00
mov ecx, dword [esp + 0x58]
mov esi, dword [ecx + ebx*4 + 0xc]
mov ecx, dword [ebp + 0x18]
add esp, 0x10
test ecx, ecx
mov dword [esp + 0x30], esi
je 0x10031610
cmp dword [0x100593ac], 0
je 0x100315c5
cmp dword [0x100593b8], 0
jg 0x10031610
mov eax, dword [ebp + 0x10]
sub eax, 1
js 0x1003161a
lea edx, [eax + eax*4]
mov esi, dword [ecx + edx*4 + 0xc]
mov eax, dword [ecx + edx*4 + 0x10]
lea ebx, [ecx + edx*4]
call fcn.1000cd60
cmp dword [esp + 0x30], 0
mov dword [ebx + 0xc], 0
jne 0x100315fc
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov ebx, dword [esp + 0x18]
jmp 0x1003161a
mov eax, dword [esp + 0x30]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0xfffffffc
mov ebx, dword [esp + 0x18]
jmp 0x1003161a
mov eax, 0xfffffffc
call fcn.1000cd60
sub ebx, 1
mov dword [esp + 0x18], ebx
jns 0x10031542
mov ecx, dword [esp + 0x54]
push ecx
push ebp
call fcn.10005450
mov edx, dword [esp + 0x18]
xor ebx, ebx
add esp, 8
cmp dword [edx], ebx
jle 0x10031674
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
sub eax, esi
mov dword [esp + 0x48], eax
lea ecx, [ecx]
mov eax, dword [esp + 0x48]
add eax, esi
push eax
push esi
push 0x83
push ebp
call fcn.10011e00
mov ecx, dword [esp + 0x20]
add ebx, 1
add esp, 0x10
add esi, 1
cmp ebx, dword [ecx]
jl 0x10031650
mov ebx, dword [esp + 0x24]
push ebx
push 0
push 0x2e
push ebp
call fcn.10011e00
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
push edx
lea eax, [esi + 1]
push eax
push 5
push ebp
call fcn.10011e00
mov eax, dword [esp + 0xa8]
push eax
push 0
push 0x2e
push ebp
call fcn.10011e00
mov ecx, dword [esp + 0x80]
push ecx
push ebp
call fcn.10005450
lea edx, [esp + 0x90]
push edx
push edi
call fcn.10026d90
add esp, 0x40
push esi
push 1
push 0x30
push ebp
call fcn.10011e00
add esp, 0x10
cmp dword [esp + 0x2c], 0
je 0x100316f2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
push 0x6d
push ebp
call fcn.10011e00
jmp 0x1003170c
mov edx, dword [esp + 0x3c]
push edx
call fcn.10016230
mov eax, dword [esp + 0x88]
push 1
push eax
push ebp
call fcn.1000ce00
add esp, 0x10
push ebx
push 0
push 0x2e
push ebp
call fcn.10011e00
add esp, 0x10
jmp 0x100317c3
lea ecx, [esp + 0x58]
push ecx
push edi
call fcn.10026ba0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
push 0
push edx
push eax
push edi
call fcn.100281f0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x10031858
lea ecx, [esp + 0x58]
push ecx
push edi
call fcn.10026d90
push esi
call fcn.10016230
lea edx, [esp + 0x64]
push edx
mov eax, edi
call fcn.10015b90
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
add esp, 0x10
test eax, eax
mov dword [esp + 0x1c], 0
je 0x1003178d
push 1
push esi
push eax
push edi
call fcn.100245a0
add esp, 0x10
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0xc0]
push esi
push esi
push ecx
mov ecx, dword [eax]
push edx
push 0xffffffffffffffff
push 0
push 0
push ecx
push eax
push edi
xor eax, eax
call fcn.10015440
add esp, 0x2c
mov edx, dword [esp + 0x20]
push edx
push ebp
call fcn.10005450
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x10031802
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0xc4]
push eax
push ecx
push edi
mov esi, ebp
call fcn.10015830
add esp, 0x14
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x10031822
mov ecx, dword [esp + 0xcc]
mov eax, dword [eax + 0xc]
lea edx, [ecx + ecx*2]
shl edx, 4
mov byte [edx + eax + 0x1c], 1
mov ecx, dword [esp + 0x8c]
push ecx
push ebp
call fcn.10005450
add esp, 8
mov dword [esp + 0x18], 0
cmp dword [esp + 0xc0], 4
jne 0x10031858
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
mov ecx, edi
call fcn.1000eb30
add esp, 4
pop ebx
pop ebp
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1003186b
push eax
call fcn.100417c0
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1003187c
push eax
call fcn.100417c0
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0xa4
ret
pop edi
mov eax, 1
pop esi
add esp, 0xa4
ret