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

Disassembly:
push 0xffffffffffffffff
push 0x58e014
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x14], 0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
cmp eax, 0x17
jne 0x42f306
cmp byte [esp + 0x94], 0
jne 0x42f306
mov ecx, dword [esp + 0x90]
mov eax, dword [ebx]
mov edx, dword [esp + 0x8c]
mov eax, dword [eax + 0x38]
push 0
push ecx
push edx
mov ecx, ebx
call eax
test al, al
je 0x42f2ff
push 6
mov ecx, ebp
call fcn.0042dea0
mov al, 1
jmp 0x42fd47
xor al, al
jmp 0x42fd47
mov esi, dword [esp + 0x90]
mov ecx, dword [esi + 8]
push ecx
mov ecx, ebp
call fcn.0042e850
test al, al
mov edi, dword [esp + 0x8c]
je 0x42f367
mov edx, dword [edi + 8]
push edx
mov ecx, ebp
call fcn.0042e850
test al, al
jne 0x42f367
mov cl, byte [edi + 4]
mov edx, dword [esi]
mov eax, dword [edi]
mov byte [esp + 0x4c], cl
mov ecx, dword [edi + 8]
mov dword [edi], edx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], edx
mov dword [esi], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0xc], ecx
cmp dword [ebp + 0xec], 6
jne 0x42f3e1
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
cmp eax, 0x17
je 0x42f3e1
cmp byte [esp + 0x94], 0
jne 0x42f3e1
push 0
mov ecx, ebp
call fcn.0042dea0
mov ecx, dword [ebp + 0x9b8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x48]
push eax
call edx
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov ecx, dword [ebp + 0x9bc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x48]
push edx
call eax
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x94]
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
push ecx
push esi
push edi
mov ecx, ebx
call edx
mov byte [esp + 0x90], al
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call edx
cmp byte [esp + 0x90], 0
jne 0x42fbf9
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
cmp eax, 3
mov edx, dword [esp + 0x60]
jne 0x42f437
cmp edx, 2
je 0x42f437
cmp edx, 1
jne 0x42fbf9
xor eax, eax
mov dword [esp + 0x48], eax
mov byte [esp + 0x4c], al
mov dword [esp + 0x50], eax
mov eax, dword [edi + 8]
push eax
push edx
mov ecx, ebp
call fcn.0042c560
test al, al
je 0x42f48b
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi], eax
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
xor ecx, ecx
mov dword [esp + 0x4c], edx
mov dword [edi + 4], eax
xor edx, edx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
jmp 0x42f4cf
mov ecx, dword [esi + 8]
push ecx
push edx
mov ecx, ebp
call fcn.0042c560
test al, al
je 0x42f4cf
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0xc]
mov dword [esi], eax
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov dword [esp + 0x54], edx
mov dword [esi + 4], eax
xor edx, edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp dword [edi + 8], 0
jne 0x42f504
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
xor eax, eax
mov dword [esi], eax
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esi + 4], eax
xor edx, edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
cmp eax, 0x20
jne 0x42f517
sub dword [esp + 0x60], 0x64
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x58]
push ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov cl, byte [esp + 0x70]
mov dword [esp + 0xa4], esp
mov byte [eax + 4], cl
mov edx, dword [esp + 0x74]
push esi
push edi
mov ecx, ebp
mov dword [eax + 8], edx
call fcn.0042e420
test al, al
mov byte [esp + 0x90], al
je 0x42fbf9
cmp byte [esp + 0x94], 0
jne 0x42fbf9
mov eax, dword [esp + 0x64]
cmp eax, 1
jne 0x42f721
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov dword [esp + 0x88], 0
mov dword [esp + 0x24], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x8c], 1
mov dword [esp + 0x2c], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x90], 2
mov dword [esp + 0x38], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x94], 3
mov dword [esp + 0x44], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str.powerup_hearts
mov byte [esp + 0x9c], 4
call fcn.00496da0
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x9c], 5
call fcn.004988c0
mov ecx, eax
call fcn.004987f0
mov ecx, eax
mov dword [esp + 0x9c], 0xffffffff
call fcn.004aa000
push 0x2c
mov dword [esp + 0x84], 6
call fcn.0055d3fe
mov ebx, eax
add esp, 4
mov dword [esp + 0x38], ebx
test ebx, ebx
mov byte [esp + 0x80], 7
je 0x42f6d6
push str.config_curves_fx_message_powerup.xml
lea ecx, [esp + 0x90]
call fcn.00496da0
fld dword [0x5a86f8]
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0x38]
fld dword [0x5a8698]
mov byte [esp + 0x88], 8
fstp dword [esp]
mov dword [esp + 0x1c], 1
call fcn.0049a830
fld dword [0x5aab34]
push eax
lea ecx, [esp + 0x90]
push ecx
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0x38]
fld dword [0x5a92d0]
fstp dword [esp]
call fcn.0049a830
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, ebp
call eax
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0049a970
add esp, 0xc
push eax
lea edx, [esp + 0x24]
push edx
push 0x3e8
mov ecx, ebx
call fcn.00450590
test byte [esp + 0x14], 1
mov dword [esp + 0x80], 6
je 0x42f6f9
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x8c]
call fcn.00497320
push 4
mov ecx, ebp
call fcn.0042eb80
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0xffffffff
call fcn.00497320
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x88]
cmp eax, 2
jne 0x42f905
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov dword [esp + 0x88], 0xa
mov dword [esp + 0x40], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x8c], 0xb
mov dword [esp + 0x3c], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x90], 0xc
mov dword [esp + 0x38], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x94], 0xd
mov dword [esp + 0x34], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.powerup_flo_speed
mov byte [esp + 0x9c], 0xe
call fcn.00496da0
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x9c], 0xf
call fcn.004988c0
mov ecx, eax
call fcn.004987f0
mov ecx, eax
mov dword [esp + 0x9c], 0xffffffff
call fcn.004aa000
push 0x2c
mov dword [esp + 0x84], 0x10
call fcn.0055d3fe
mov ebx, eax
add esp, 4
mov dword [esp + 0x38], ebx
test ebx, ebx
mov byte [esp + 0x80], 0x11
je 0x42f88b
push str.config_curves_fx_message_powerup.xml
lea ecx, [esp + 0x90]
call fcn.00496da0
fld dword [0x5a86f8]
or dword [esp + 0x14], 2
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0x38]
fld dword [0x5a8698]
mov byte [esp + 0x88], 0x12
fstp dword [esp]
call fcn.0049a830
fld dword [0x5aab34]
push eax
lea ecx, [esp + 0x90]
push ecx
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0x38]
fld dword [0x5a92d0]
fstp dword [esp]
call fcn.0049a830
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, ebp
call eax
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0049a970
add esp, 0xc
push eax
lea edx, [esp + 0x24]
push edx
push 0x3e8
mov ecx, ebx
call fcn.00450590
test byte [esp + 0x14], 2
mov dword [esp + 0x80], 0x10
je 0x42f8ae
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x8c]
call fcn.00497320
fld dword [ebp + 0x168]
mov ecx, dword [ebp + 0xe4]
push 1
fstp dword [ebp + 0x16c]
call fcn.004a5ee0
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x5a9400
call fcn.00496da0
mov ecx, dword [ebp + 0xe4]
call fcn.004ae770
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0xffffffff
call fcn.00497320
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x88]
cmp eax, 3
jne 0x42f916
mov byte [ebp + 0x9c0], 1
jmp 0x42fb69
cmp eax, 4
jne 0x42f945
call fcn.0048b030
mov ecx, eax
call fcn.004012a0
mov eax, dword [eax + 0xd8]
push eax
call fcn.0048b030
mov ecx, eax
call fcn.004012a0
mov ecx, eax
call fcn.004013d0
mov eax, dword [esp + 0x64]
cmp eax, 5
jne 0x42fb69
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov dword [esp + 0x88], 0x14
mov dword [esp + 0x40], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x8c], 0x15
mov dword [esp + 0x3c], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x90], 0x16
mov dword [esp + 0x38], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x94], 0x17
mov dword [esp + 0x34], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.powerup_instant_eat
mov byte [esp + 0x9c], 0x18
call fcn.00496da0
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x9c], 0x19
call fcn.004988c0
mov ecx, eax
call fcn.004987f0
mov ecx, eax
mov dword [esp + 0x9c], 0xffffffff
call fcn.004aa000
push 0x2c
mov dword [esp + 0x84], 0x1a
call fcn.0055d3fe
mov ebx, eax
add esp, 4
mov dword [esp + 0x38], ebx
test ebx, ebx
mov byte [esp + 0x80], 0x1b
je 0x42faaf
push str.config_curves_fx_message_powerup.xml
lea ecx, [esp + 0x90]
call fcn.00496da0
fld dword [0x5a86f8]
or dword [esp + 0x14], 4
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0x38]
fld dword [0x5a8698]
mov byte [esp + 0x88], 0x1c
fstp dword [esp]
call fcn.0049a830
fld dword [0x5aab34]
push eax
lea ecx, [esp + 0x90]
push ecx
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0x38]
fld dword [0x5a92d0]
fstp dword [esp]
call fcn.0049a830
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, ebp
call eax
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0049a970
add esp, 0xc
push eax
lea edx, [esp + 0x24]
push edx
push 0x3e8
mov ecx, ebx
call fcn.00450590
test byte [esp + 0x14], 4
mov dword [esp + 0x80], 0x1a
je 0x42facd
lea ecx, [esp + 0x8c]
call fcn.00497320
mov eax, dword [ebp + 0x9a0]
mov eax, dword [eax]
lea ebx, [ebp + 0x99c]
mov dword [esp + 0x3c], eax
nop
test ebx, ebx
mov ecx, dword [ebp + 0x9a0]
lea eax, [ebp + 0x99c]
mov dword [esp + 0x34], ecx
je 0x42faf8
cmp ebx, eax
je 0x42fafd
call fcn.0055d776
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x3c], edx
je 0x42fb4e
test ebx, ebx
jne 0x42fb10
call fcn.0055d776
mov eax, dword [esp + 0x3c]
cmp eax, dword [ebx + 4]
jne 0x42fb1e
call fcn.0055d776
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x118]
test ecx, ecx
je 0x42fb34
call fcn.00417600
mov eax, dword [esp + 0x3c]
cmp eax, dword [ebx + 4]
jne 0x42fb42
call fcn.0055d776
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
jmp 0x42fae0
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0xffffffff
call fcn.00497320
mov ebx, dword [esp + 0x88]
xor ecx, ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov byte [eax + 4], cl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov ecx, ebx
mov dword [esp + 0x98], esp
call edx
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x42fbb8
mov edx, dword [esp + 0x48]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dl, byte [esp + 0x5c]
mov byte [eax + 4], dl
mov dword [eax + 8], ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov ecx, ebx
mov dword [esp + 0x98], esp
call edx
call fcn.00490fd0
cmp dword [esp + 0x64], 0
mov ebx, eax
je 0x42fbde
cmp dword [esp + 0x60], 2
jne 0x42fbde
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push str.audio_sfx_game_flo_take_power_up.ogg
jmp 0x42fbed
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push str.audio_sfx_game_flo_take.ogg
call fcn.00496da0
mov ecx, ebx
call fcn.00491080
xor ebx, ebx
cmp dword [edi + 8], ebx
jne 0x42fc2f
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [esi], eax
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x4c]
xor ecx, ecx
mov dword [esi + 4], eax
xor edx, edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp byte [esp + 0x94], 0
jne 0x42fd40
mov ecx, dword [ebp + 0x9b8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x48]
push eax
call edx
mov eax, dword [eax + 8]
cmp eax, dword [edi + 8]
jne 0x42fc6f
mov ecx, dword [ebp + 0x9b8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x48]
push eax
call edx
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x42fcbd
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov byte [eax + 4], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov ecx, dword [ebp + 0x9b8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov dword [esp + 0xa4], esp
call eax
mov ecx, dword [edi]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dl, byte [edi + 4]
mov byte [eax + 4], dl
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x9b8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov dword [esp + 0xa4], esp
call eax
mov ecx, dword [ebp + 0x9bc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x48]
push eax
call edx
mov eax, dword [eax + 8]
cmp eax, dword [esi + 8]
jne 0x42fcef
mov ecx, dword [ebp + 0x9bc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x68]
push eax
call edx
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x42fd40
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov byte [eax + 4], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov ecx, dword [ebp + 0x9bc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov dword [esp + 0xa4], esp
call eax
mov ecx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dl, byte [esi + 4]
mov byte [eax + 4], dl
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov ebp, dword [ebp + 0x9bc]
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
mov ecx, ebp
mov dword [esp + 0xa4], esp
call eax
mov al, byte [esp + 0x90]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x10