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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov edx, dword [ebp + 0x10]
push ebx
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
lea ebx, [edx + edi]
lea eax, [ebx - 1]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], ecx
mov byte [esp + 0x1b], cl
mov byte [esp + 0xf], cl
mov byte [esp + 0xe], cl
mov byte [esp + 0xd], cl
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
cmp esi, ecx
jne 0x4b8d03
cmp dword [ebp + 0xc], ecx
jne 0x4b8d03
cmp edx, ecx
jne 0x4b8d03
cmp dword [ebp + 0x14], 0xfffffc19
jne 0x4b8d03
cmp edi, 0xfffffc19
jne 0x4b8d03
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
call fcn.004b4f80
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
test eax, 0xe20f5a6f
je 0x4b8d19
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, ecx
je 0x4b97ba
cmp edx, ecx
je 0x4b97ba
cmp dword [ebp + 0x20], ecx
jne 0x4b8d37
cmp dword [ebp + 0x24], ecx
jg 0x4b97ba
cmp dword [ebp + 0x24], ecx
jge 0x4b8d48
mov eax, 0xfffffff1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, ecx
jl 0x4b97ae
cmp edi, dword [ebp + 0x14]
jg 0x4b97ae
mov edx, dword [esi]
cmp edx, 0x50435245
je 0x4b8d7a
lea eax, [edx - 0x45524350]
neg eax
sbb eax, eax
and eax, 0x19
add eax, 0xffffffe3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx edx, word [esi + 0xc]
test dl, 1
jne 0x4b8d8f
mov eax, 0xffffffe4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x98], ecx
test eax, 0x8000000
je 0x4b8da4
mov eax, 2
jmp 0x4b8daa
shr eax, 0xf
and eax, 1
movzx edx, word [esi + 0x1a]
mov edi, dword [esi + 0x20]
mov dword [esp + 0xd8], eax
movzx eax, word [esi + 0x18]
add eax, esi
mov dword [esp + 0x78], eax
movzx eax, word [esi + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x74], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], 0x989680
mov dword [esp + 0x58], 0x1770
mov dword [esp + 0xf8], ecx
cmp eax, ecx
je 0x4b8e4b
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test al, 1
je 0x4b8e08
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
test al, 2
je 0x4b8e1a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
test al, 0x10
je 0x4b8e2c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
test al, 4
je 0x4b8e41
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x10]
test al, 8
je 0x4b8e4b
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x10]
cmp edi, ecx
jne 0x4b8e54
mov edi, 0x4dec00
mov eax, dword [esi + 8]
mov ecx, eax
or ecx, dword [ebp + 0x1c]
mov dword [esp + 0x80], edi
shr ecx, 4
and ecx, 1
mov dword [esp + 0x38], ecx
mov ecx, esi
movzx ecx, word [ecx + 0xc]
mov esi, ecx
shr esi, 8
and esi, 1
mov dword [esp + 0x40], esi
mov esi, eax
shr esi, 0x12
and esi, 1
mov dword [esp + 0x4c], esi
mov esi, dword [ebp + 8]
movzx esi, word [esi + 0x1c]
imul edx, esi
mov esi, dword [ebp + 8]
movzx esi, word [esi + 0x18]
add edx, esi
add edx, dword [ebp + 8]
mov esi, dword [ebp + 0x18]
mov dword [esp + 0xc0], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc4], edx
add edx, dword [ebp + 0x14]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xc8], edx
mov dword [esp + 0x14], edx
mov edx, eax
shr edx, 5
and edx, 1
mov dword [esp + 0xa4], edx
mov edx, eax
shr edx, 0x1d
and edx, 1
mov dword [esp + 0xa0], edx
mov edx, eax
shr edx, 0x19
and edx, 1
mov dword [esp + 0x9c], edx
mov edx, dword [ebp + 0x1c]
mov esi, edx
shr esi, 7
and esi, 1
mov dword [esp + 0x90], esi
mov esi, edx
shr esi, 8
and esi, 1
mov dword [esp + 0x94], esi
mov esi, edx
shr esi, 0xa
and esi, 1
shr ecx, 0xc
mov dword [esp + 0xa8], esi
and ecx, 1
mov esi, edx
shr esi, 0x1c
mov dword [esp + 0xb8], ecx
lea ecx, [edi + 0x100]
and esi, 1
mov dword [esp + 0x84], ecx
mov dword [esp + 0xac], esi
xor esi, esi
add edi, 0x340
mov ecx, edx
and ecx, 0x1800000
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb0], esi
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0x88], edi
je 0x4b8fb9
cmp ecx, 0x800000
je 0x4b8fac
cmp ecx, 0x1000000
je 0x4b8fd1
mov eax, 0xffffffe9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0xb4], 1
jmp 0x4b8fd8
test eax, 0x1800000
je 0x4b8fd1
mov edx, eax
shr edx, 0x17
and edx, 1
mov dword [esp + 0xb4], edx
jmp 0x4b8fd8
mov dword [esp + 0xb4], esi
mov ecx, dword [ebp + 0x1c]
test ecx, 0x700000
je 0x4b8fe5
mov eax, ecx
and eax, 0x700000
cmp eax, 0x300000
ja 0x4b903a
je 0x4b9033
test eax, eax
je 0x4b9033
cmp eax, 0x100000
je 0x4b902c
cmp eax, 0x200000
jne 0x4b8fa0
mov eax, 0xa
mov dword [esp + 0x68], esi
cmp eax, 0xff
jle 0x4b9060
mov ecx, eax
sar ecx, 8
mov dword [esp + 0x6c], 2
mov byte [esp + 0x7c], cl
mov byte [esp + 0x7d], al
jmp 0x4b906c
mov eax, 0xd
jmp 0x4b900a
mov eax, 0xd0a
jmp 0x4b900a
cmp eax, 0x400000
je 0x4b9056
cmp eax, 0x500000
jne 0x4b8fa0
mov dword [esp + 0x68], 2
jmp 0x4b906c
mov dword [esp + 0x68], 1
jmp 0x4b906c
mov dword [esp + 0x6c], 1
mov byte [esp + 0x7c], al
cmp dword [esp + 0xd8], esi
je 0x4b908f
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0xc]
test eax, 0x200
je 0x4b908f
mov eax, 0xfffffff3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x55555556
imul dword [ebp + 0x24]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edi, [eax + eax*2]
lea ecx, [edi + edi]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x12]
mov dword [esp + 0x44], edi
test ax, ax
je 0x4b9111
mov ecx, eax
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x4b9111
lea edi, [ecx + ecx*2 + 3]
lea ecx, [edi*4]
push ecx
mov dword [esp + 0x48], edi
call dword [0x4ec360]
mov esi, eax
add esp, 4
mov dword [esp + 0x5c], esi
test esi, esi
jne 0x4b9107
lea eax, [esi - 6]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x30], 1
jmp 0x4b9118
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x5c], esi
lea ecx, [edi + edi]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
or edx, 0xffffffff
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0xe0], edx
test esi, esi
je 0x4b9186
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + 0x10]
add ecx, ecx
lea eax, [esi + edi*4]
lea edi, [ecx + ecx]
mov ecx, eax
sub ecx, edi
lea edi, [esi + 8]
cmp ecx, edi
jae 0x4b9166
mov ecx, edi
sub eax, 4
cmp eax, ecx
jb 0x4b917d
lea ecx, [ecx]
mov dword [eax], edx
sub eax, 4
cmp eax, ecx
jae 0x4b9170
mov esi, dword [esp + 0x5c]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x5c]
mov dword [eax], edx
cmp dword [esp + 0x38], 0
jne 0x4b91de
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0xc]
test al, 0x10
je 0x4b91c2
mov cl, byte [ecx + 0x14]
mov dword [esp + 0x2c], 1
mov byte [esp + 0xf], cl
mov byte [esp + 0x1b], cl
test al, 0x20
je 0x4b91de
mov edx, dword [esp + 0x84]
movzx ecx, cl
mov al, byte [ecx + edx]
mov byte [esp + 0xf], al
jmp 0x4b91de
cmp dword [esp + 0x40], 0
jne 0x4b91de
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b91de
test byte [eax + 4], 1
je 0x4b91de
add eax, 8
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xc]
test cl, 0x40
je 0x4b9212
mov al, byte [eax + 0x16]
mov dword [esp + 0x48], 1
mov byte [esp + 0xd], al
mov byte [esp + 0xe], al
test cl, cl
jns 0x4b9212
mov edx, dword [esp + 0x84]
movzx ecx, al
mov al, byte [ecx + edx]
mov byte [esp + 0xd], al
cmp dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
je 0x4b928c
mov esi, dword [esp + 0xc8]
mov ecx, ebx
cmp ebx, esi
jae 0x4b9288
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
test eax, eax
je 0x4b9265
mov edx, dword [esp + 0xc8]
push 0
push eax
lea esi, [esp + 0x74]
call fcn.004b9be0
add esp, 8
test eax, eax
jne 0x4b9288
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0xc8]
jmp 0x4b9283
mov edx, esi
sub edx, edi
cmp ecx, edx
ja 0x4b9283
mov dl, byte [esp + 0x7c]
cmp byte [ecx], dl
jne 0x4b9283
cmp edi, 1
je 0x4b9288
mov dl, byte [esp + 0x7d]
cmp byte [ecx + 1], dl
je 0x4b9288
inc ecx
cmp ecx, esi
jb 0x4b9236
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
or eax, dword [ebp + 0x1c]
and eax, 0x4000000
mov dword [esp + 0x1c], eax
jne 0x4b93e4
cmp dword [esp + 0x2c], 0
je 0x4b9304
mov cl, byte [esp + 0x1b]
mov dl, byte [esp + 0xf]
cmp cl, dl
je 0x4b92df
cmp ebx, dword [esp + 0x14]
jae 0x4b93e4
mov al, byte [ebx]
cmp al, cl
je 0x4b93e4
cmp al, dl
je 0x4b93e4
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x4b92c1
jmp 0x4b93e4
cmp ebx, dword [esp + 0x14]
jae 0x4b93e4
lea esp, [esp]
cmp byte [ebx], cl
je 0x4b93e4
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x4b92f0
jmp 0x4b93e4
cmp dword [esp + 0x40], 0
je 0x4b93b2
mov edx, dword [esp + 0xc4]
add edx, dword [ebp + 0x18]
cmp ebx, edx
jbe 0x4b93e4
cmp ebx, dword [esp + 0x14]
jae 0x4b9390
mov edi, dword [esp + 0xc4]
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0x68], 0
je 0x4b9368
cmp ebx, edi
jbe 0x4b9389
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0xc4]
push eax
lea edx, [esp + 0x70]
mov ecx, ebx
call fcn.004b9c90
add esp, 4
test eax, eax
jne 0x4b9390
mov edi, dword [esp + 0xc4]
mov esi, dword [esp + 0x6c]
jmp 0x4b9389
lea ecx, [esi + edi]
cmp ebx, ecx
jb 0x4b9389
mov dl, byte [esp + 0x7c]
mov eax, ebx
sub eax, esi
cmp byte [eax], dl
jne 0x4b9389
cmp esi, 1
je 0x4b9390
mov cl, byte [esp + 0x7d]
cmp byte [eax + 1], cl
je 0x4b9390
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x4b9332
cmp byte [ebx - 1], 0xd
jne 0x4b93e4
mov eax, dword [esp + 0x68]
cmp eax, 1
je 0x4b93a4
cmp eax, 2
jne 0x4b93e4
cmp ebx, dword [esp + 0x14]
jae 0x4b93e4
cmp byte [ebx], 0xa
jne 0x4b93e4
inc ebx
jmp 0x4b93e4
cmp dword [esp + 0x24], 0
je 0x4b93e4
cmp ebx, dword [esp + 0x14]
jae 0x4b93e4
nop
movzx eax, byte [ebx]
mov ecx, eax
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x24]
shr eax, 3
mov al, byte [eax + ecx]
test al, dl
jne 0x4b93e4
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x4b93c0
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x1c], esi
jne 0x4b948b
cmp dword [esp + 0xd8], esi
jne 0x4b948b
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x4b9420
test byte [eax + 4], 2
je 0x4b9420
mov edx, ecx
sub edx, ebx
cmp edx, dword [eax + 0x28]
jb 0x4b94f8
cmp dword [esp + 0x48], esi
je 0x4b948b
sub ecx, ebx
cmp ecx, 0x3e8
jge 0x4b948b
xor eax, eax
cmp dword [esp + 0x2c], esi
setne al
add eax, ebx
cmp eax, dword [esp + 0x34]
jbe 0x4b948b
mov cl, byte [esp + 0xd]
cmp byte [esp + 0xe], cl
je 0x4b94ff
cmp eax, dword [esp + 0x10]
jae 0x4b94f8
movzx edi, byte [esp + 0xe]
mov edi, edi
movzx esi, byte [eax]
inc eax
cmp esi, edi
je 0x4b947c
movzx edx, cl
cmp esi, edx
je 0x4b947c
cmp eax, dword [esp + 0x10]
jb 0x4b9460
xor edi, edi
jmp 0x4b9643
mov esi, dword [esp + 0x10]
dec eax
cmp eax, esi
jae 0x4b94f8
mov dword [esp + 0x34], eax
xor esi, esi
mov eax, dword [esp + 0xc0]
push esi
push esi
lea edx, [esp + 0x58]
push edx
push 2
push ebx
push eax
push ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x104], esi
mov dword [esp + 0xf8], esi
call fcn.004b4f80
add esp, 0x1c
mov edi, eax
cmp dword [esp + 0xb0], esi
je 0x4b94e2
cmp dword [esp + 0x20], esi
jne 0x4b94e2
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x20], ecx
cmp edi, 0xfffffc1d
jg 0x4b951f
je 0x4b9561
cmp edi, 0xfffffc1a
jne 0x4b9632
xor edi, edi
jmp 0x4b9643
mov esi, dword [esp + 0x10]
cmp eax, esi
jae 0x4b94f8
mov cl, byte [eax]
inc eax
cmp cl, byte [esp + 0xe]
je 0x4b9480
cmp eax, esi
jb 0x4b9507
xor edi, edi
jmp 0x4b9643
cmp edi, 0xfffffc20
jg 0x4b9559
je 0x4b9561
cmp edi, 0xfffffc1e
je 0x4b954c
cmp edi, 0xfffffc1f
jne 0x4b9632
mov eax, ebx
mov dword [esp + 0xbc], 1
jmp 0x4b956b
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x4b9561
jmp 0x4b956b
cmp edi, esi
jne 0x4b9632
mov dword [esp + 0xbc], esi
lea eax, [ebx + 1]
xor edi, edi
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x4c], esi
je 0x4b95d8
cmp dword [esp + 0x68], esi
je 0x4b95b1
cmp ebx, dword [esp + 0xc8]
jae 0x4b95d8
mov edx, dword [esp + 0x68]
push edi
push edx
mov edx, dword [esp + 0xd0]
lea esi, [esp + 0x74]
mov ecx, ebx
call fcn.004b9be0
add esp, 8
test eax, eax
jne 0x4b9643
mov eax, dword [esp + 0x1c]
xor esi, esi
jmp 0x4b95d8
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x6c]
sub edx, ecx
cmp ebx, edx
ja 0x4b95d8
mov dl, byte [esp + 0x7c]
cmp byte [ebx], dl
jne 0x4b95d8
cmp ecx, 1
je 0x4b9643
mov cl, byte [esp + 0x7d]
cmp byte [ebx + 1], cl
je 0x4b9643
mov ebx, eax
cmp dword [esp + 0x38], esi
jne 0x4b9643
mov esi, dword [esp + 0x10]
cmp eax, esi
ja 0x4b9647
cmp eax, dword [esp + 0x10c]
jbe 0x4b9626
cmp byte [eax - 1], 0xd
jne 0x4b9626
cmp eax, esi
jae 0x4b9626
cmp byte [eax], 0xa
jne 0x4b9626
mov ecx, dword [ebp + 8]
mov edx, 0x800
test word [ecx + 0xc], dx
jne 0x4b9626
mov ecx, dword [esp + 0x68]
cmp ecx, 1
je 0x4b9623
cmp ecx, 2
je 0x4b9623
cmp dword [esp + 0x6c], 2
jne 0x4b9626
lea ebx, [eax + 1]
mov dword [esp + 0xfc], edi
jmp 0x4b9212
cmp edi, 1
je 0x4b96bc
cmp edi, 0xfffffc19
je 0x4b96bc
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
je 0x4b965c
mov edx, dword [esp + 0x5c]
push edx
call dword [0x4ec364]
add esp, 4
test edi, edi
je 0x4b966e
cmp edi, 0xfffffff4
je 0x4b966e
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b9692
cmp dword [ebp + 0x24], 1
jle 0x4b968b
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
sub eax, edx
sub esi, edx
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov eax, 0xfffffff4
jmp 0x4b9695
or eax, 0xffffffff
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4b97bf
test byte [ecx], 0x20
je 0x4b97bf
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x100]
mov dword [ecx], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x30], esi
mov esi, dword [esp + 0x3c]
mov ebx, dword [ebp + 0x20]
je 0x4b9708
mov edi, dword [esp + 0x5c]
cmp esi, 4
jl 0x4b96ea
lea eax, [esi*4 - 8]
push eax
lea ecx, [edi + 8]
push ecx
lea edx, [ebx + 8]
push edx
call fcn.004c3030
add esp, 0xc
cmp dword [esp + 0xdc], esi
jle 0x4b96fe
mov dword [esp + 0x8c], 1
push edi
call dword [0x4ec364]
add esp, 4
cmp dword [esp + 0x8c], 0
mov edi, dword [esp + 0xdc]
je 0x4b9721
cmp edi, esi
jl 0x4b9721
xor esi, esi
jmp 0x4b972a
mov eax, edi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x10]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
jg 0x4b9765
test ebx, ebx
je 0x4b9765
lea eax, [ecx + ecx + 2]
cmp eax, dword [ebp + 0x24]
jle 0x4b974d
mov eax, dword [esp + 0x44]
lea edx, [ebx + edi*4]
lea ecx, [ebx + eax*4]
cmp edx, ecx
jae 0x4b9765
sub ecx, edx
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
mov edi, edx
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x24], 2
jge 0x4b976f
xor esi, esi
jmp 0x4b978d
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
sub ecx, eax
sub edx, eax
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4b97a5
test byte [eax], 0x20
je 0x4b97a5
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0xfc]
mov dword [eax], ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffe8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret