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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x14
push esi
push eax
call fcn.004df880
mov esi, eax
add esp, 4
test esi, esi
jne 0x4c2f60
xor eax, eax
pop esi
add esp, 0x14
ret 0x28
push 0
push 1
push str.TerSetBullet3_Enter
push 0
push esi
call fcn.004d59e0
add esp, 0x14
cmp dword [esi + 0x14], 0
je 0x4c2f57
mov eax, dword [esp + 0x2c]
test eax, eax
jge 0x4c2f8c
mov dword [esp + 0x2c], 0
jmp 0x4c2f99
cmp eax, 0xa
jle 0x4c2f99
mov dword [esp + 0x2c], 0xa
push ebx
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
call fcn.004c0980
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
add esp, 0xc
cmp dword [esi + 0x39b0], 0
jne 0x4c2fd0
push 0x50
push 0
push edi
push 0
push ebx
push esi
call fcn.004fa650
add esp, 0x18
cmp ebx, edi
push ebp
mov ebp, ebx
mov dword [esp + 0x1c], ebx
jg 0x4c3196
nop
push ebp
push esi
call fcn.004f5090
add esp, 8
test eax, eax
je 0x4c3187
cmp dword [esi + 0x39b0], 0
je 0x4c3027
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov edx, dword [eax + ecx + 0x80]
mov ebx, dword [eax + ecx + 0x84]
mov edi, dword [eax + ecx + 0x78]
add eax, ecx
mov dword [esp + 0x10], edx
jmp 0x4c304e
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebp*4]
mov edx, dword [ecx + 0x14]
mov eax, dword [esi + 0x2b38]
imul edx, edx, 0x58
mov ecx, dword [eax + edx + 0x14]
mov ebx, dword [eax + edx + 0x18]
mov edi, dword [eax + edx + 0xc]
add eax, edx
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x2c], 0
je 0x4c30b6
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
or ebx, 8
call fcn.004c1920
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + ebp*4]
lea ecx, [ecx + ebp*4]
mov ebp, dword [esi + 0x2b38]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x14]
imul eax, eax, 0x58
test byte [eax + ebp + 0x18], 8
jne 0x4c30ec
mov eax, dword [esi + 0x388c]
add edi, eax
sub dword [esp + 0x10], eax
jmp 0x4c30ec
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + ebp*4]
mov eax, dword [edx + 0x14]
lea ecx, [ecx + ebp*4]
imul eax, eax, 0x58
mov ebp, dword [esi + 0x2b38]
and ebx, 0xfffffff7
test byte [eax + ebp + 0x18], 8
mov dword [esp + 0x20], 0
je 0x4c30ec
mov eax, dword [esi + 0x388c]
sub edi, eax
add dword [esp + 0x10], eax
test edi, edi
jge 0x4c30f2
xor edi, edi
mov edx, dword [esp + 0x10]
add edx, edi
jns 0x4c3102
mov eax, edi
neg eax
mov dword [esp + 0x10], eax
cmp dword [esi + 0x39b0], 0
jne 0x4c31ce
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push ebx
mov ecx, edx
imul ecx, ecx, 0x58
mov eax, dword [ecx + ebp + 0x50]
push eax
mov eax, dword [ecx + ebp + 0x48]
push eax
mov eax, dword [ecx + ebp + 0x44]
push eax
mov eax, dword [ecx + ebp + 0x4c]
add ecx, ebp
push eax
mov eax, dword [ecx + 0x38]
push eax
mov eax, dword [ecx + 0x34]
push eax
mov eax, dword [ecx + 0x30]
push eax
mov eax, dword [ecx + 0x2c]
push eax
mov eax, dword [ecx + 0x28]
push eax
mov eax, dword [ecx + 0x24]
push eax
mov eax, dword [ecx + 0x40]
push eax
mov eax, dword [ecx + 0x3c]
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x10]
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push edi
push edx
push esi
call fcn.004c2d90
mov edx, dword [esi + 0x138]
mov ecx, dword [esp + 0x6c]
mov edx, dword [edx + ecx*4]
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
add esp, 0x50
mov dword [edx + 0x14], eax
mov ebp, ecx
add ebp, 1
cmp ebp, edi
mov dword [esp + 0x1c], ebp
jle 0x4c2fe0
add dword [esi + 0x114], 1
cmp dword [esp + 0x4c], 0
je 0x4c3251
push esi
call fcn.004de3e0
add esp, 4
cmp dword [esi + 0x4dc], 0
je 0x4c3261
push 0
push esi
call fcn.005119e0
add esp, 8
jmp 0x4c3261
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov dword [eax + ecx + 0x84], ebx
mov edx, dword [esi + 0x39a4]
mov eax, dword [esi + 0x3894]
imul edx, edx, 0x10c
mov dword [edx + eax + 0x78], edi
mov ecx, dword [esi + 0x39a4]
mov edx, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov eax, dword [esp + 0x10]
mov dword [ecx + edx + 0x80], eax
mov ecx, dword [esi + 0x39a4]
mov edx, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov eax, dword [esp + 0x20]
push 0
push esi
mov dword [ecx + edx + 0xb0], eax
call fcn.005119e0
add esp, 8
pop ebp
pop edi
pop ebx
mov eax, 1
pop esi
add esp, 0x14
ret 0x28
sub edi, ebx
add edi, 0xa
push edi
push ebx
push esi
call fcn.00520c30
add esp, 0xc
push 0
push 1
push str.TerSetBullet3_Exit
push 0
push esi
call fcn.004d59e0
add esp, 0x14
pop ebp
pop edi
pop ebx
mov eax, 1
pop esi
add esp, 0x14
ret 0x28