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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
cmp ecx, 0x17f
jg 0x251068
cmp ecx, 1
je 0x251096
cmp ecx, 0x100
jne 0x25108a
mov edi, 0x20
mov eax, dword [ebp]
cmp eax, 6
jbe 0x2510b9
jmp case.0x2510bd.1
cmp ecx, 0x200
je 0x2510a8
cmp ecx, 0x180
jne 0x25108a
mov edi, 0x30
mov eax, dword [ebp]
cmp eax, 6
jbe 0x2510b9
jmp case.0x2510bd.1
push 0x78eb4f
push 0xfffffffffffffff2
jmp 0x25199c
mov edi, 0x14
mov eax, dword [ebp]
cmp eax, 6
jbe 0x2510b9
jmp case.0x2510bd.1
mov edi, 0x40
mov eax, dword [ebp]
cmp eax, 6
ja case.0x2510bd.1
mov ebx, dword [esp + 0x38]
jmp dword [eax*4 + 0x78e30c]
mov dword [esp], edi
mov dword [esp + 0xc], edx
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0x78], 0
call fcn.002f5fa0
mov dword [ebp + 0x60], eax
lea edi, [ebp + 0x64]
push edi
call fcn.00249dc0
add esp, 4
call fcn.002f9a40
mov dword [ebp + 0x68], eax
call fcn.002f9a40
mov dword [ebp + 0x6c], eax
call fcn.002f9a40
mov dword [ebp + 0x70], eax
xorps xmm0, xmm0
movups xmmword [ebp + 0x90], xmm0
push ebx
call fcn.002f9790
add esp, 4
cmp eax, 0x4001
jl 0x251132
push 0x78eb6f
push 0xffffffffffffffde
jmp 0x25199c
push dword [ebp + 0x60]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [ebp + 0x68]
push edi
call fcn.00249dd0
add esp, 0x18
test eax, eax
je 0x25115d
push 0x78eb8d
push 0xfffffffffffffffb
jmp 0x25199c
push dword [ebp + 0x68]
call fcn.002f9790
add esp, 4
lea ecx, [eax + 7]
add eax, 0xe
test ecx, ecx
cmovns eax, ecx
sar eax, 3
add eax, 6
mov dword [ebp + 0x54], eax
push dword [ebp + 0x68]
call fcn.002f9790
add esp, 4
mov ecx, dword [ebp + 0x54]
test al, 7
je 0x251192
dec ecx
mov dword [ebp + 0x54], ecx
mov edi, dword [esp]
movzx ebx, byte [esp + 0x48]
push esi
push ecx
call dword [esi + 4]
add esp, 8
mov dword [ebp + 4], eax
test eax, eax
je 0x2513f5
mov byte [eax], bl
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0x54]
inc eax
add ecx, 0xfffffffb
push ecx
push eax
call fcn.002545f0
add esp, 8
push dword [ebp + 0x68]
call fcn.002f9790
add esp, 4
mov ecx, 5
test al, 7
jne 0x2511e3
mov eax, dword [ebp + 4]
mov byte [eax + 5], 0
mov ecx, 6
add ecx, dword [ebp + 4]
push ecx
push dword [ebp + 0x68]
call fcn.002fa380
add esp, 8
mov dword [ebp], 2
push 0
push 0
push dword [ebp + 0x54]
push dword [ebp + 4]
push esi
call fcn.00260e40
add esp, 0x14
mov ebx, eax
cmp eax, 0xffffffdb
je 0x251a44
test ebx, ebx
jne 0x2512ba
mov dword [ebp], 3
cmp dword [esi + 0x54], 0
je 0x251259
lea eax, [ebp + 0xa0]
push eax
push esi
call fcn.00256890
add esp, 8
mov ebx, 0xffffffdb
cmp eax, 0xffffffdb
je 0x251a44
test eax, eax
jle 0x2519a5
mov dword [esi + 0x54], 0
mov dword [ebp], 4
mov dword [esp], edi
movzx eax, byte [esp + 0x4c]
lea edi, [ebp + 8]
lea ebx, [ebp + 0x58]
lea ecx, [ebp + 0x90]
movzx eax, al
push ecx
push 0
push 0
push 0
push ebx
push edi
push eax
push esi
call fcn.002567b0
add esp, 0x20
test eax, eax
je 0x25129d
cmp eax, 0xffffffdb
jne 0x2512ae
mov ebx, 0xffffffdb
jmp 0x251a44
mov eax, dword [ebx]
cmp eax, 4
ja 0x2512c4
push 0x78ebff
jmp 0x25108f
push 0x78ebdf
push 0xfffffffffffffff7
jmp 0x25199c
push 0x78ebbf
jmp 0x25199b
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
inc ecx
mov dword [esp + 0x18], ecx
lea edi, [esi + 0x70]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x2512e5
push esi
push eax
call dword [esi + 0xc]
add esp, 8
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
push esi
call fcn.00254f70
add esp, 0x10
test eax, eax
je 0x251309
push 0x78ec1f
push 0xfffffffffffffffa
jmp 0x25199c
mov eax, dword [esp + 8]
mov dword [esi + 0x74], eax
lea edi, [esp + 4]
push edi
call fcn.00248330
add esp, 4
xor ebx, ebx
mov ecx, 0
test eax, eax
je 0x25135d
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esp + 0xc]
call fcn.0032a610
add esp, 0xc
lea eax, [esi + 0x78]
push 0
push eax
push dword [esp + 0xc]
call fcn.0032a730
add esp, 0xc
push dword [esp + 4]
call fcn.00329f60
add esp, 4
mov ecx, 1
mov dword [esi + 0x88], ecx
push edi
call fcn.002481f0
add esp, 4
test eax, eax
je 0x2513a8
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esp + 0xc]
call fcn.0032a610
add esp, 0xc
lea eax, [esi + 0x8c]
push 0
push eax
push dword [esp + 0xc]
call fcn.0032a730
add esp, 0xc
push dword [esp + 4]
call fcn.00329f60
add esp, 4
mov ebx, 1
mov dword [esi + 0xa0], ebx
push edi
call fcn.00248240
add esp, 4
test eax, eax
je 0x251401
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esp + 0xc]
call fcn.0032a610
add esp, 0xc
lea eax, [esi + 0xa4]
push 0
push eax
push dword [esp + 0xc]
call fcn.0032a730
add esp, 0xc
push dword [esp + 4]
call fcn.00329f60
add esp, 4
mov eax, 1
jmp 0x251403
push 0x78ebab
push 0xfffffffffffffffa
jmp 0x25199c
xor eax, eax
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0x68]
lea ebx, [esi + 0x6c]
push ebx
push dword [esi + 0x74]
push dword [esi + 0x70]
push esi
call dword [eax + 8]
add esp, 0x10
test eax, eax
je 0x25142d
push 0x78ec37
push 0xfffffffffffffff6
jmp 0x25199c
lea eax, [ebp + 0x74]
lea ecx, [ebp + 0x80]
push ecx
push eax
lea edi, [esp + 0x1c]
push edi
call fcn.00254f10
add esp, 0xc
test eax, eax
je 0x251455
push 0x78ec64
push 0xfffffffffffffff6
jmp 0x25199c
push dword [ebp + 0x6c]
push dword [ebp + 0x80]
push dword [ebp + 0x74]
call fcn.002f9e00
add esp, 0xc
lea eax, [ebp + 0x7c]
lea ecx, [ebp + 0x88]
push ecx
push eax
push edi
call fcn.00254f10
add esp, 0xc
test eax, eax
je 0x25148d
push 0x78ec81
push 0xfffffffffffffff6
jmp 0x25199c
lea eax, [ebp + 0x64]
push dword [ebp + 0x60]
push dword [esp + 0x3c]
push dword [ebp + 0x6c]
push dword [ebp + 0x70]
push eax
call fcn.00249e20
add esp, 0x14
push dword [ebp + 0x70]
call fcn.002f9790
add esp, 4
lea ecx, [eax + 7]
add eax, 0xe
test ecx, ecx
cmovns eax, ecx
sar eax, 3
add eax, 5
mov dword [ebp + 0x84], eax
push dword [ebp + 0x70]
call fcn.002f9790
add esp, 4
mov ecx, dword [ebp + 0x84]
test al, 7
je 0x2514e4
dec ecx
mov dword [ebp + 0x84], ecx
mov edi, dword [esp + 0x40]
push esi
push ecx
call dword [esi + 4]
add esp, 8
mov dword [ebp + 0x78], eax
test eax, eax
je 0x2515b6
mov ecx, dword [ebp + 0x84]
add ecx, 0xfffffffc
push ecx
push eax
call fcn.002545f0
add esp, 8
push dword [ebp + 0x70]
call fcn.002f9790
add esp, 4
mov ecx, 4
test al, 7
jne 0x25152e
mov eax, dword [ebp + 0x78]
mov byte [eax + 4], 0
mov ecx, 5
add ecx, dword [ebp + 0x78]
push ecx
push dword [ebp + 0x70]
call fcn.002fa380
add esp, 8
lea eax, [esp + 0x44]
mov dword [ebp + 0x8c], eax
mov edx, dword [esp + 0x44]
mov ecx, edi
call fcn.00251fc0
mov eax, dword [esi + 0x108]
lea ecx, [ebp + 0x10]
test eax, eax
mov dword [esp + 0x20], ebx
je 0x2515c2
push eax
mov ebx, ecx
call fcn.004f8b98
add esp, 4
add eax, 0xfffffffe
push eax
push ebx
call fcn.002545f0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.00252020
add esp, 8
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov edi, dword [esi + 0x108]
push edi
call fcn.004f8b98
add esp, 4
add eax, 0xfffffffe
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
push eax
push edi
mov edi, dword [esp + 0x48]
jmp 0x2515ed
push 0x78ec9c
push 0xfffffffffffffffa
jmp 0x25199c
push 0x16
push ecx
mov ebx, ecx
call fcn.002545f0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.00252020
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 0x16
push 0x78e7c0
call fcn.00252020
add esp, 8
push dword [esi + 0xd0]
call fcn.004f8b98
add esp, 4
push eax
push ebx
call fcn.002545f0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.00252020
add esp, 8
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov edi, dword [esi + 0xd0]
push edi
call fcn.004f8b98
add esp, 4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
push eax
push edi
mov edi, dword [esp + 0x48]
call fcn.00252020
add esp, 8
push dword [esi + 0x110]
push ebx
call fcn.002545f0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.00252020
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esi + 0x110]
push dword [esi + 0x10c]
call fcn.00252020
add esp, 8
push dword [esi + 0xd8]
push ebx
call fcn.002545f0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.00252020
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esi + 0xd8]
push dword [esi + 0xd4]
call fcn.00252020
add esp, 8
push dword [esi + 0x74]
push ebx
call fcn.002545f0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
mov dword [esp + 0x10], ebx
push ebx
call fcn.00252020
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esi + 0x74]
push dword [esi + 0x70]
call fcn.00252020
add esp, 8
cmp byte [esp + 0x48], 0x20
jne 0x251740
push 0x800
mov ebx, dword [esp + 0x10]
push ebx
call fcn.002545f0
add esp, 8
lea eax, [ebp + 0x14]
push 0x1000
push eax
call fcn.002545f0
add esp, 8
lea eax, [ebp + 0x18]
push 0x2000
push eax
call fcn.002545f0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 0xc
push ebx
call fcn.00252020
add esp, 8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x25175b
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esp + 0x54]
push eax
call fcn.00252020
add esp, 8
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 4]
mov edi, dword [ebp + 0x54]
inc eax
dec edi
mov ecx, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x44]
push eax
call fcn.00252020
add esp, 8
push dword [ebp + 0x80]
mov ebx, dword [esp + 0x10]
push ebx
call fcn.002545f0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.00252020
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [ebp + 0x80]
push dword [ebp + 0x74]
call fcn.00252020
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [ebp + 0x84]
push dword [ebp + 0x78]
call fcn.00252020
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push ebx
call fcn.00252060
add esp, 4
mov eax, dword [esi + 0x68]
push dword [esp + 0x20]
mov edi, dword [esp + 4]
push edi
push ebx
push dword [ebp + 0x88]
push dword [ebp + 0x7c]
push esi
call dword [eax + 0x14]
add esp, 0x18
test eax, eax
je 0x251807
push 0x78ecc3
push 0xfffffffffffffff5
jmp 0x25199c
mov byte [ebp + 0x50], 0x15
mov dword [ebp], 5
lea eax, [ebp + 0x50]
push 0
push 0
push 1
push eax
push esi
call fcn.00260e40
add esp, 0x14
mov ebx, eax
cmp eax, 0xffffffdb
je 0x251a44
test ebx, ebx
jne 0x251996
mov dword [ebp], 6
mov dword [esp], edi
lea edi, [ebp + 0xc]
lea eax, [ebp + 0x5c]
lea ecx, [ebp + 0x90]
push ecx
push 0
push 0
push 0
push eax
push edi
push 0x15
push esi
call fcn.002567b0
add esp, 0x20
mov ebx, eax
cmp eax, 0xffffffdb
je 0x251a44
test ebx, ebx
jne 0x25198f
or byte [esi + 0x40], 2
push esi
push dword [edi]
call dword [esi + 0xc]
add esp, 8
cmp dword [esi + 0x58], 0
jne 0x2518b0
push esi
mov edi, dword [esp + 4]
push edi
call dword [esi + 4]
add esp, 8
mov dword [esi + 0x58], eax
test eax, eax
je 0x251a58
lea ecx, [ebp + 0x10]
push edi
push ecx
push eax
call fcn.004f8d80
add esp, 0xc
mov dword [esi + 0x5c], edi
mov eax, dword [esi + 0x114]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x2518d0
lea eax, [esi + 0x118]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0x114]
cmp dword [eax + 0x18], 0
je 0x251b60
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
lea edi, [esp + 0x14]
mov ebx, dword [esp + 0x40]
mov ecx, ebx
mov edx, esi
push 0x78e881
push dword [eax + 0xc]
push edi
push ebp
call fcn.002520b0
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x251a4e
mov dword [esp], eax
mov eax, dword [esi + 0x114]
lea edi, [esp + 8]
mov ecx, ebx
mov edx, esi
push 0x78e883
push dword [eax + 0x10]
push edi
push ebp
call fcn.002520b0
add esp, 0x10
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x251a64
mov eax, dword [esi + 0x114]
lea ecx, [esi + 0x118]
lea edx, [esp + 0x10]
lea edi, [esp + 4]
push ecx
push 1
push edx
push ebx
push edi
mov edi, dword [esp + 0x14]
push edi
push eax
push esi
call dword [eax + 0x18]
add esp, 0x20
test eax, eax
je 0x251a79
push esi
push edi
call dword [esi + 0xc]
add esp, 8
jmp 0x251a67
push 0x78ed13
jmp 0x25199b
push 0x78eced
push ebx
push esi
call fcn.002544a0
add esp, 0xc
mov ebx, eax
lea eax, [ebp + 0x64]
push eax
call fcn.00249e50
add esp, 4
push dword [ebp + 0x68]
call fcn.002f9930
add esp, 4
mov dword [ebp + 0x68], 0
push dword [ebp + 0x6c]
call fcn.002f9930
add esp, 4
mov dword [ebp + 0x6c], 0
push dword [ebp + 0x70]
call fcn.002f9930
add esp, 4
mov dword [ebp + 0x70], 0
push dword [ebp + 0x60]
call fcn.002f6030
add esp, 4
mov dword [ebp + 0x60], 0
mov eax, dword [ebp + 4]
test eax, eax
je 0x251a11
push esi
push eax
call dword [esi + 0xc]
add esp, 8
mov dword [ebp + 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x251a27
push esi
push eax
call dword [esi + 0xc]
add esp, 8
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x251a3d
push esi
push eax
call dword [esi + 0xc]
add esp, 8
mov dword [ebp + 0x78], 0
mov dword [ebp], 0
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 0xffffffff
jmp 0x2519a7
push 0x78e858
push 0xfffffffffffffffa
jmp 0x25199c
mov ebx, dword [esp]
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
mov ebx, 0xfffffffb
jmp 0x2519a7
cmp dword [esp + 4], 0
je 0x251af0
mov eax, dword [esi + 0x114]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x251ae5
mov ecx, eax
and ecx, 7
je 0x251aab
xor edi, edi
mov edx, dword [esp]
mov byte [edx + edi], 0
inc edi
cmp ecx, edi
jne 0x251a99
lea ecx, [edx + edi]
mov edx, eax
sub edx, edi
jmp 0x251ab0
mov ecx, dword [esp]
mov edx, eax
cmp eax, 8
jb 0x251ae5
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x251ab7
push esi
push dword [esp + 4]
call dword [esi + 0xc]
add esp, 8
cmp dword [esp + 0x10], 0
je 0x251b60
mov eax, dword [esi + 0x114]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x251b58
mov ecx, eax
and ecx, 7
je 0x251b1f
xor edi, edi
mov byte [ebx + edi], 0
inc edi
cmp ecx, edi
jne 0x251b0d
lea ecx, [ebx + edi]
mov edx, eax
sub edx, edi
jmp 0x251b23
mov ecx, ebx
mov edx, eax
cmp eax, 8
jb 0x251b58
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x251b2a
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
mov eax, dword [esi + 0xdc]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x251b80
lea eax, [esi + 0xe0]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0xdc]
cmp dword [eax + 0x18], 0
je 0x251d2b
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
lea edi, [esp + 0x14]
mov ebx, dword [esp + 0x40]
mov ecx, ebx
mov edx, esi
push 0x78e885
push dword [eax + 0xc]
push edi
push ebp
call fcn.002520b0
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x251ebe
mov dword [esp], eax
mov eax, dword [esi + 0xdc]
lea edi, [esp + 8]
mov ecx, ebx
mov edx, esi
push 0x78e887
push dword [eax + 0x10]
push edi
push ebp
call fcn.002520b0
add esp, 0x10
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x251c34
mov eax, dword [esi + 0xdc]
lea ecx, [esi + 0xe0]
lea edx, [esp + 0x10]
lea edi, [esp + 4]
push ecx
push 0
push edx
push ebx
push edi
mov edi, dword [esp + 0x14]
push edi
push eax
push esi
call dword [eax + 0x18]
add esp, 0x20
test eax, eax
je 0x251c44
push esi
push edi
call dword [esi + 0xc]
add esp, 8
jmp 0x251c37
mov ebx, dword [esp]
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
jmp 0x251ebe
cmp dword [esp + 4], 0
je 0x251cbb
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x251cb0
mov ecx, eax
and ecx, 7
je 0x251c76
xor edi, edi
mov edx, dword [esp]
mov byte [edx + edi], 0
inc edi
cmp ecx, edi
jne 0x251c64
lea ecx, [edx + edi]
mov edx, eax
sub edx, edi
jmp 0x251c7b
mov ecx, dword [esp]
mov edx, eax
cmp eax, 8
jb 0x251cb0
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x251c82
push esi
push dword [esp + 4]
call dword [esi + 0xc]
add esp, 8
cmp dword [esp + 0x10], 0
je 0x251d2b
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x251d23
mov ecx, eax
and ecx, 7
je 0x251cea
xor edi, edi
mov byte [ebx + edi], 0
inc edi
cmp ecx, edi
jne 0x251cd8
lea ecx, [ebx + edi]
mov edx, eax
sub edx, edi
jmp 0x251cee
mov ecx, ebx
mov edx, eax
cmp eax, 8
jb 0x251d23
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x251cf5
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
mov eax, dword [esi + 0x11c]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x251d4b
lea eax, [esi + 0x124]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0x11c]
cmp dword [eax + 0xc], 0
je 0x251e17
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
lea edi, [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, esi
push 0x78e889
push dword [eax + 8]
push edi
push ebp
call fcn.002520b0
add esp, 0x10
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x251ebe
mov eax, dword [esi + 0x11c]
lea ecx, [esi + 0x124]
lea edx, [esp + 8]
push ecx
push edx
push ebx
push esi
call dword [eax + 0xc]
add esp, 0x10
cmp dword [esp + 8], 0
je 0x251e17
mov eax, dword [esi + 0x11c]
mov eax, dword [eax + 8]
test eax, eax
je 0x251e0f
mov ecx, eax
and ecx, 7
je 0x251dd6
xor edi, edi
mov byte [ebx + edi], 0
inc edi
cmp ecx, edi
jne 0x251dc4
lea ecx, [ebx + edi]
mov edx, eax
sub edx, edi
jmp 0x251dda
mov ecx, ebx
mov edx, eax
cmp eax, 8
jb 0x251e0f
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x251de1
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
mov eax, dword [esi + 0xe4]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x251e37
lea eax, [esi + 0xec]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0xe4]
cmp dword [eax + 0xc], 0
je 0x251f09
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
lea edi, [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, esi
push 0x78e88b
push dword [eax + 8]
push edi
push ebp
call fcn.002520b0
add esp, 0x10
mov edi, dword [esp + 0x14]
test edi, edi
je 0x251ebe
mov eax, dword [esi + 0xe4]
lea ecx, [esi + 0xec]
lea edx, [esp + 8]
push ecx
push edx
push edi
push esi
call dword [eax + 0xc]
add esp, 0x10
cmp dword [esp + 8], 0
je 0x251f09
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + 8]
test eax, eax
je 0x251f01
mov ecx, eax
and ecx, 7
je 0x251ec8
xor ebx, ebx
mov byte [edi + ebx], 0
inc ebx
cmp ecx, ebx
jne 0x251eac
lea ecx, [edi + ebx]
mov edx, eax
sub edx, ebx
jmp 0x251ecc
mov ebx, 0xfffffffb
jmp 0x2519a7
mov ecx, edi
mov edx, eax
cmp eax, 8
jb 0x251f01
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x251ed3
push esi
push edi
call dword [esi + 0xc]
add esp, 8
mov eax, dword [esi + 0x128]
test eax, eax
je 0x251f56
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x251f33
lea eax, [esi + 0x12c]
push eax
push 1
push esi
call ecx
add esp, 0xc
mov eax, dword [esi + 0x128]
test eax, eax
je 0x251f56
mov eax, dword [eax + 0xc]
test eax, eax
je 0x251f56
lea ecx, [esi + 0x12c]
push ecx
push 1
push esi
call eax
add esp, 0xc
mov ebx, 0xfffffffb
test eax, eax
jne 0x2519a7
mov eax, dword [esi + 0xf0]
test eax, eax
je case.0x2510bd.1
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x251f80
lea eax, [esi + 0xf4]
push eax
push 0
push esi
call ecx
add esp, 0xc
mov eax, dword [esi + 0xf0]
test eax, eax
je case.0x2510bd.1
mov eax, dword [eax + 0xc]
mov ebx, 0
test eax, eax
je 0x2519a7
lea ecx, [esi + 0xf4]
push ecx
push 0
push esi
call eax
add esp, 0xc
xor ecx, ecx
test eax, eax
sete cl
lea ebx, [ecx + ecx*4]
add ebx, 0xfffffffb
jmp 0x2519a7
xor ebx, ebx
jmp 0x2519a7