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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x98]
mov ecx, dword [ebp + 0x40]
mov eax, ecx
or eax, 8
mov dword [ebp + 0x40], eax
mov eax, dword [ebx]
test eax, eax
je 0x24bb85
mov ecx, dword [ebp + 0x50]
test ecx, ecx
jne 0x24bbce
jmp 0x24bc0b
mov eax, dword [esp + 0x9c]
or ecx, 9
mov dword [ebp + 0x40], ecx
test eax, eax
je 0x24bbbc
mov dword [ebp + 0x50], 0
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x24bbb5
mov eax, dword [eax + 0x20]
test eax, eax
je 0x24bbb5
lea ecx, [ebp + 0x6c]
push ecx
push ebp
call eax
add esp, 8
mov dword [ebp + 0x68], 0
mov dword [ebx], 2
mov eax, 2
mov ecx, dword [ebp + 0x50]
test ecx, ecx
je 0x24bc0b
cmp dword [ebp + 0x68], 0
je 0x24bc0b
mov dword [ebx], 5
lea eax, [ebx + 0x18]
push eax
push ebp
call dword [ecx + 4]
add esp, 8
test eax, eax
je 0x24c983
cmp eax, 0xffffffdb
je 0x24c137
push 0x78e384
push 0xfffffffffffffff8
push ebp
call fcn.002544a0
add esp, 0xc
jmp 0x24c983
cmp eax, 4
je 0x24c103
cmp eax, 3
je 0x24bc4a
cmp eax, 2
jne 0x24c96e
mov eax, dword [ebp + 0x10c]
mov dword [ebx + 0x208], eax
mov eax, dword [ebp + 0x110]
mov dword [ebx + 0x20c], eax
mov dword [ebp + 0x10c], 0
mov dword [ebx], 3
cmp dword [ebp + 0x11428], 0
je 0x24bc9c
mov edi, dword [ebp + 0x1142c]
mov esi, dword [ebp + 0x11430]
mov dword [ebp + 0x1142c], 0
mov dword [ebp + 0x11430], 0
push 0
push 0
push esi
push edi
push ebp
call fcn.00260e40
add esp, 0x14
test eax, eax
je 0x24bcb0
cmp eax, 0xffffffdb
jne 0x24bcdd
mov dword [ebp + 0x1142c], edi
mov dword [ebp + 0x11430], esi
jmp 0x24c137
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x24bcfc
push eax
call fcn.004f8b98
add esp, 4
mov edi, eax
jmp 0x24bd2c
mov eax, dword [ebp + 0x10c]
test eax, eax
je 0x24bcc2
push ebp
push eax
call dword [ebp + 0xc]
add esp, 8
mov dword [ebp + 0x10c], edi
mov dword [ebp + 0x110], esi
mov dword [ebp + 0x11428], 0
jmp 0x24c0fd
push ebp
push edi
mov esi, eax
call dword [ebp + 0xc]
add esp, 8
mov dword [ebp + 0x11428], 0
push 0x78e4e2
push esi
jmp 0x24c0c8
mov eax, dword [0x5f4514]
xor edi, edi
test eax, eax
je 0x24bd2c
mov esi, 0x5f4518
nop dword [eax]
mov eax, dword [eax]
test eax, eax
je 0x24bd2b
push eax
call fcn.004f8b98
add esp, 4
add edi, eax
inc edi
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x24bd10
dec edi
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x24be99
push eax
call fcn.004f8b98
add esp, 4
mov esi, eax
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x130]
test eax, eax
je 0x24bee1
push eax
call fcn.004f8b98
add esp, 4
mov esi, eax
mov dword [esp + 8], esi
mov eax, dword [ebp + 0xf8]
test eax, eax
je 0x24bf31
push eax
call fcn.004f8b98
add esp, 4
mov esi, eax
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0x134]
test eax, eax
je 0x24bf81
push eax
call fcn.004f8b98
add esp, 4
mov esi, eax
mov dword [esp + 0x10], esi
mov eax, dword [ebp + 0xfc]
test eax, eax
je 0x24bfd1
push eax
call fcn.004f8b98
add esp, 4
mov esi, eax
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x138]
test eax, eax
je 0x24c021
push eax
call fcn.004f8b98
add esp, 4
mov esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 0x100]
test eax, eax
je 0x24c071
push eax
call fcn.004f8b98
add esp, 4
mov esi, eax
mov dword [esp + 0x1c], esi
mov eax, dword [ebp + 0x13c]
xor esi, esi
mov edi, 0
test eax, eax
je 0x24be14
push eax
call fcn.004f8b98
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0x104]
test eax, eax
je 0x24be29
push eax
call fcn.004f8b98
add esp, 4
mov esi, eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
add ecx, edx
add ecx, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add eax, edx
add eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edi
add ecx, edi
add eax, ecx
mov dword [esp + 0x34], esi
add esi, eax
add esi, 0x3e
push ebp
push esi
call dword [ebp + 4]
add esp, 8
test eax, eax
je 0x24c0c1
mov edi, eax
inc eax
mov byte [edi], 0x14
push 0x10
push eax
call fcn.00246080
add esp, 8
test eax, eax
je 0x24c29a
push 0x78e4b4
push 0xffffffffffffffcf
jmp 0x24c0c8
call fcn.0024aa10
xor esi, esi
test eax, eax
je 0x24bd46
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x24bd46
add edi, 4
xor esi, esi
nop dword [eax]
mov eax, dword [eax]
test eax, eax
je 0x24bedb
push eax
call fcn.004f8b98
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24bec0
dec esi
jmp 0x24bd46
call fcn.00265c20
xor esi, esi
test eax, eax
je 0x24bd63
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x24bd63
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x24bf2b
push eax
call fcn.004f8b98
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24bf10
dec esi
jmp 0x24bd63
call fcn.00265c20
xor esi, esi
test eax, eax
je 0x24bd80
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x24bd80
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x24bf7b
push eax
call fcn.004f8b98
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24bf60
dec esi
jmp 0x24bd80
call fcn.00253f70
xor esi, esi
test eax, eax
je 0x24bd9d
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x24bd9d
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x24bfcb
push eax
call fcn.004f8b98
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24bfb0
dec esi
jmp 0x24bd9d
call fcn.00253f70
xor esi, esi
test eax, eax
je 0x24bdba
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x24bdba
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x24c01b
push eax
call fcn.004f8b98
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24c000
dec esi
jmp 0x24bdba
push ebp
call fcn.00265bd0
add esp, 4
xor esi, esi
test eax, eax
je 0x24bdd7
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x24bdd7
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x24c06b
push eax
call fcn.004f8b98
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24c050
dec esi
jmp 0x24bdd7
push ebp
call fcn.00265bd0
add esp, 4
xor esi, esi
test eax, eax
je 0x24bdf4
mov edi, eax
mov eax, dword [eax]
test eax, eax
je 0x24bdf4
add edi, 4
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x24c0bb
push eax
call fcn.004f8b98
add esp, 4
add esi, eax
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24c0a0
dec esi
jmp 0x24bdf4
push 0x78e49a
push 0xfffffffffffffffa
push ebp
call fcn.002544a0
add esp, 0xc
test eax, eax
je 0x24c0fd
cmp eax, 0xffffffdb
je 0x24c137
mov eax, dword [ebx + 0x208]
mov dword [ebp + 0x10c], eax
mov eax, dword [ebx + 0x20c]
mov dword [ebp + 0x110], eax
mov dword [ebx], 0
jmp 0x24c28c
mov dword [ebx], 4
mov eax, ebx
add ebx, 0x200
lea edi, [eax + 0x204]
mov esi, eax
lea eax, [eax + 8]
push eax
push 0
push 0
push 0
push edi
push ebx
push 0x14
push ebp
call fcn.002567b0
add esp, 0x20
test eax, eax
je 0x24c145
cmp eax, 0xffffffdb
jne 0x24c25c
and byte [ebp + 0x40], 0xf7
mov eax, 0xffffffdb
jmp 0x24c9cd
mov eax, dword [ebp + 0xd4]
test eax, eax
je 0x24c157
push ebp
push eax
call dword [ebp + 0xc]
add esp, 8
mov eax, dword [ebx]
mov dword [ebp + 0xd4], eax
mov ecx, dword [edi]
mov dword [ebp + 0xd8], ecx
cmp ecx, 0x11
jb 0x24c24a
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
add eax, 0x11
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x80]
lea edi, [esp + 0x38]
push eax
push ecx
push edi
call fcn.00254f10
add esp, 0xc
test eax, eax
jne 0x24c24a
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x7c]
push eax
push ecx
push edi
call fcn.00254f10
add esp, 0xc
test eax, eax
jne 0x24c24a
lea eax, [esp + 0x58]
lea ecx, [esp + 0x78]
push eax
push ecx
push edi
call fcn.00254f10
add esp, 0xc
test eax, eax
jne 0x24c24a
lea eax, [esp + 0x54]
lea ecx, [esp + 0x74]
push eax
push ecx
push edi
call fcn.00254f10
add esp, 0xc
test eax, eax
jne 0x24c24a
lea eax, [esp + 0x48]
lea ecx, [esp + 0x68]
push eax
push ecx
push edi
call fcn.00254f10
add esp, 0xc
test eax, eax
jne 0x24c24a
lea eax, [esp + 0x44]
lea ecx, [esp + 0x64]
push eax
push ecx
push edi
call fcn.00254f10
add esp, 0xc
test eax, eax
jne 0x24c24a
lea eax, [esp + 0x50]
lea ecx, [esp + 0x70]
push eax
push ecx
push edi
call fcn.00254f10
add esp, 0xc
test eax, eax
jne 0x24c24a
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x6c]
push eax
push ecx
push edi
call fcn.00254f10
add esp, 0xc
test eax, eax
je 0x24c866
mov ebx, esi
mov dword [esi], 5
mov eax, 0xfffffffb
jmp 0x24c983
mov eax, dword [ebp + 0x10c]
test eax, eax
je 0x24c26e
push ebp
push eax
call dword [ebp + 0xc]
add esp, 8
mov eax, dword [esi + 0x208]
mov dword [ebp + 0x10c], eax
mov eax, dword [esi + 0x20c]
mov dword [ebp + 0x110], eax
mov dword [esi], 0
and byte [ebp + 0x40], 0xf6
mov eax, 0xffffffff
jmp 0x24c9cd
mov dword [esp + 0x24], esi
lea eax, [edi + 0x11]
mov ecx, dword [ebp + 0x38]
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x20]
push esi
mov dword [esp + 4], eax
push eax
call fcn.002545f0
add esp, 8
cmp dword [esp + 0x28], 0
mov dword [esp + 0x2c], edi
je 0x24c2e0
lea eax, [edi + 0x15]
push esi
push dword [ebp + 0x38]
push eax
call fcn.004f8d80
add esp, 0xc
lea eax, [edi + esi]
add eax, 0x15
mov dword [esp], eax
jmp 0x24c33f
mov eax, dword [0x5f4514]
test eax, eax
je 0x24c337
mov esi, edi
add esi, 0x15
mov ebp, 0x5f4518
mov ebx, dword [eax]
test ebx, ebx
je 0x24c320
push ebx
call fcn.004f8b98
add esp, 4
mov edi, eax
push eax
push ebx
push esi
call fcn.004f8d80
add esp, 0xc
mov byte [esi + edi], 0x2c
add esi, edi
inc esi
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x24c2f3
mov eax, dword [esp + 0x20]
add eax, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
jmp 0x24c33c
mov eax, 4
add dword [esp], eax
mov esi, dword [esp + 4]
cmp dword [ebp + 0x3c], 0
je 0x24c371
push esi
mov edi, dword [esp + 4]
push edi
call fcn.002545f0
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0x3c]
push eax
call fcn.004f8d80
add esp, 0xc
add edi, esi
add edi, 4
mov dword [esp], edi
jmp 0x24c3e1
call fcn.0024aa10
mov ebx, eax
push esi
push dword [esp + 4]
call fcn.002545f0
add esp, 8
mov ecx, 4
test ebx, ebx
je 0x24c3d7
mov eax, dword [ebx]
test eax, eax
je 0x24c3d7
mov ecx, dword [esp]
lea esi, [ecx + 4]
add ebx, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x24c3c9
push ebp
call fcn.004f8b98
add esp, 4
mov edi, eax
push eax
push ebp
push esi
call fcn.004f8d80
add esp, 0xc
mov byte [esi + edi], 0x2c
add esi, edi
inc esi
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x24c39d
mov ecx, dword [esp + 4]
add ecx, 4
mov ebp, dword [esp + 0x98]
add dword [esp], ecx
mov ebx, dword [esp + 0xa0]
cmp dword [ebp + 0x130], 0
je 0x24c419
mov esi, dword [esp + 8]
push esi
mov edi, dword [esp + 4]
push edi
call fcn.002545f0
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0x130]
push eax
call fcn.004f8d80
add esp, 0xc
add edi, esi
add edi, 4
mov dword [esp], edi
jmp 0x24c48c
call fcn.00265c20
mov ebx, eax
push dword [esp + 8]
push dword [esp + 4]
call fcn.002545f0
add esp, 8
mov ecx, 4
test ebx, ebx
je 0x24c482
mov eax, dword [ebx]
test eax, eax
je 0x24c482
mov ecx, dword [esp]
lea esi, [ecx + 4]
add ebx, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x24c474
push ebp
call fcn.004f8b98
add esp, 4
mov edi, eax
push eax
push ebp
push esi
call fcn.004f8d80
add esp, 0xc
mov byte [esi + edi], 0x2c
add esi, edi
inc esi
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x24c448
mov ecx, dword [esp + 8]
add ecx, 4
mov ebp, dword [esp + 0x98]
add dword [esp], ecx
mov ebx, dword [esp + 0xa0]
cmp dword [ebp + 0xf8], 0
je 0x24c4c4
mov esi, dword [esp + 0xc]
push esi
mov edi, dword [esp + 4]
push edi
call fcn.002545f0
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0xf8]
push eax
call fcn.004f8d80
add esp, 0xc
add edi, esi
add edi, 4
mov dword [esp], edi
jmp 0x24c537
call fcn.00265c20
mov edi, eax
push dword [esp + 0xc]
push dword [esp + 4]
call fcn.002545f0
add esp, 8
mov ecx, 4
test edi, edi
je 0x24c534
mov eax, dword [edi]
test eax, eax
je 0x24c534
mov ecx, dword [esp]
lea esi, [ecx + 4]
add edi, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x24c51f
push ebp
call fcn.004f8b98
add esp, 4
mov ebx, eax
push eax
push ebp
push esi
call fcn.004f8d80
add esp, 0xc
mov byte [esi + ebx], 0x2c
add esi, ebx
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24c4f3
mov ecx, dword [esp + 0xc]
add ecx, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
add dword [esp], ecx
cmp dword [ebp + 0x134], 0
je 0x24c56f
mov esi, dword [esp + 0x10]
push esi
mov edi, dword [esp + 4]
push edi
call fcn.002545f0
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0x134]
push eax
call fcn.004f8d80
add esp, 0xc
add edi, esi
add edi, 4
mov dword [esp], edi
jmp 0x24c5e2
call fcn.00253f70
mov edi, eax
push dword [esp + 0x10]
push dword [esp + 4]
call fcn.002545f0
add esp, 8
mov ecx, 4
test edi, edi
je 0x24c5df
mov eax, dword [edi]
test eax, eax
je 0x24c5df
mov ecx, dword [esp]
lea esi, [ecx + 4]
add edi, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x24c5ca
push ebp
call fcn.004f8b98
add esp, 4
mov ebx, eax
push eax
push ebp
push esi
call fcn.004f8d80
add esp, 0xc
mov byte [esi + ebx], 0x2c
add esi, ebx
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24c59e
mov ecx, dword [esp + 0x10]
add ecx, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
add dword [esp], ecx
cmp dword [ebp + 0xfc], 0
je 0x24c617
mov esi, dword [esp + 0x14]
push esi
mov edi, dword [esp + 4]
push edi
call fcn.002545f0
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0xfc]
push eax
call fcn.004f8d80
add esp, 0xc
add esi, edi
add esi, 4
jmp 0x24c68a
call fcn.00253f70
mov edi, eax
push dword [esp + 0x14]
mov esi, dword [esp + 4]
push esi
call fcn.002545f0
add esp, 8
mov ecx, 4
test edi, edi
je 0x24c688
mov eax, dword [edi]
test eax, eax
je 0x24c688
add esi, 4
add edi, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x24c670
push ebp
call fcn.004f8b98
add esp, 4
mov ebx, eax
push eax
push ebp
push esi
call fcn.004f8d80
add esp, 0xc
mov byte [esi + ebx], 0x2c
add esi, ebx
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24c644
mov ecx, dword [esp + 0x14]
add ecx, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp]
add esi, ecx
cmp dword [ebp + 0x138], 0
je 0x24c6bd
mov edi, esi
mov esi, dword [esp + 0x18]
push esi
push edi
call fcn.002545f0
add esp, 8
lea eax, [edi + 4]
push esi
push dword [ebp + 0x138]
push eax
call fcn.004f8d80
add esp, 0xc
add esi, edi
add esi, 4
jmp 0x24c733
push ebp
call fcn.00265bd0
add esp, 4
mov edi, eax
push dword [esp + 0x18]
push esi
call fcn.002545f0
add esp, 8
mov ecx, 4
test edi, edi
je 0x24c731
mov eax, dword [edi]
test eax, eax
je 0x24c731
mov dword [esp], esi
add esi, 4
add edi, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x24c719
push ebp
call fcn.004f8b98
add esp, 4
mov ebx, eax
push eax
push ebp
push esi
call fcn.004f8d80
add esp, 0xc
mov byte [esi + ebx], 0x2c
add esi, ebx
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24c6ed
mov ecx, dword [esp + 0x18]
add ecx, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp]
add esi, ecx
cmp dword [ebp + 0x100], 0
je 0x24c764
mov edi, dword [esp + 0x1c]
push edi
push esi
call fcn.002545f0
add esp, 8
lea eax, [esi + 4]
push edi
push dword [ebp + 0x100]
push eax
call fcn.004f8d80
add esp, 0xc
add edi, esi
add edi, 4
jmp 0x24c7dc
push ebp
call fcn.00265bd0
add esp, 4
mov edi, eax
push dword [esp + 0x1c]
push esi
call fcn.002545f0
add esp, 8
mov ecx, 4
test edi, edi
je 0x24c7d8
mov eax, dword [edi]
test eax, eax
je 0x24c7d8
mov dword [esp], esi
add esi, 4
add edi, 4
mov ebp, dword [eax]
test ebp, ebp
je 0x24c7c0
push ebp
call fcn.004f8b98
add esp, 4
mov ebx, eax
push eax
push ebp
push esi
call fcn.004f8d80
add esp, 0xc
mov byte [esi + ebx], 0x2c
add esi, ebx
inc esi
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x24c794
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp]
add esi, ecx
mov edi, esi
mov eax, dword [ebp + 0x13c]
mov dword [esp], eax
mov esi, dword [esp + 0x30]
push esi
push edi
call fcn.002545f0
add esp, 8
add edi, 4
cmp dword [esp], 0
je 0x24c80e
push esi
push dword [ebp + 0x13c]
push edi
call fcn.004f8d80
add esp, 0xc
add edi, esi
mov eax, dword [ebp + 0x104]
mov dword [esp], eax
mov esi, dword [esp + 0x34]
push esi
push edi
call fcn.002545f0
add esp, 8
add edi, 4
cmp dword [esp], 0
je 0x24c840
push esi
push dword [ebp + 0x104]
push edi
call fcn.004f8d80
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x24]
mov byte [edi], 0
inc edi
push 0
push edi
call fcn.002545f0
add esp, 8
mov dword [ebp + 0x11428], 2
mov edi, dword [esp + 0x2c]
jmp 0x24bc73
push 1
push edi
call fcn.00254da0
add esp, 8
test eax, eax
je 0x24c24a
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 1]
mov dword [esp + 0x3c], ecx
movzx eax, byte [eax]
mov dword [ebp + 0x54], eax
mov edx, dword [esp + 0x80]
mov ecx, ebp
push dword [esp + 0x5c]
push dword [esp + 0x80]
push dword [esp + 0x68]
call fcn.0024cd80
add esp, 0xc
test eax, eax
jne 0x24c24a
lea edi, [ebp + 0x108]
mov edx, dword [esp + 0x78]
mov ecx, edi
push dword [esp + 0x58]
call fcn.0024cf30
add esp, 4
test eax, eax
jne 0x24c24a
lea ebx, [ebp + 0xd0]
mov edx, dword [esp + 0x74]
mov ecx, ebx
push dword [esp + 0x54]
call fcn.0024cf30
add esp, 4
test eax, eax
jne 0x24c24a
mov edx, dword [esp + 0x68]
mov ecx, edi
push dword [esp + 0x48]
call fcn.0024d0b0
add esp, 4
test eax, eax
jne 0x24c24a
mov edx, dword [esp + 0x64]
mov ecx, ebx
push dword [esp + 0x44]
call fcn.0024d0b0
add esp, 4
test eax, eax
jne 0x24c24a
mov ecx, ebp
mov edx, edi
push dword [esp + 0x50]
push dword [esp + 0x74]
call fcn.0024d250
add esp, 8
test eax, eax
jne 0x24c24a
mov ecx, ebp
mov edx, ebx
push dword [esp + 0x4c]
push dword [esp + 0x70]
call fcn.0024d250
add esp, 8
test eax, eax
jne 0x24c24a
mov ebx, esi
mov dword [esi], 5
mov ecx, dword [ebp + 0x50]
mov eax, 5
test ecx, ecx
sete dl
cmp eax, 5
setne dh
xor eax, eax
or dh, dl
je 0x24bbda
mov ecx, dword [ebp + 0x10c]
test ecx, ecx
je 0x24c9a3
push ebp
push ecx
mov esi, eax
call dword [ebp + 0xc]
mov eax, esi
add esp, 8
mov dword [ebp + 0x10c], 0
mov ecx, dword [ebp + 0xd4]
test ecx, ecx
je 0x24c9c3
push ebp
push ecx
mov esi, eax
call dword [ebp + 0xc]
mov eax, esi
add esp, 8
mov dword [ebp + 0xd4], 0
and byte [ebp + 0x40], 0xf6
mov dword [ebx], 0
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret