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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x164]
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp edi, dword [ebx + 0x90]
mov dword [esp + 0x2c], eax
jne 0x4af87a
lea ecx, [ebx + 0x120]
lea edx, [ebx + 0x124]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edx
jmp 0x4af88b
mov eax, dword [ebx + 0x12c]
mov dword [esp + 0x1c], eax
add eax, 4
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
lea edx, [esp + 0x14]
push edx
push esi
push eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
push edi
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
add eax, 5
add esp, 0x10
cmp eax, 0x12
mov dword [edx], ecx
ja case.default.0x4af8c4
jmp dword [eax*4 + 0x4b04b0]
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x30]
sub ecx, eax
push ecx
mov ecx, dword [ebp + 0x14]
add eax, ecx
push eax
push edi
call edx
add esp, 0xc
test al, al
mov byte [esp + 0x12], al
je 0x4af926
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4af904
mov edx, dword [ebx + 4]
push 1
lea ecx, [esp + 0x16]
push ecx
push edx
call eax
add esp, 0xc
jmp 0x4af9cc
cmp dword [ebx + 0x50], 0
je 0x4af9cc
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x18]
push edi
mov esi, ebx
call fcn.004b42c0
add esp, 8
jmp 0x4af9cc
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x44]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
mov esi, dword [esp + 0x2c]
sub edi, eax
add eax, edx
push eax
add esi, 0x50
push ecx
mov eax, esi
call fcn.004b5320
add esp, 8
test eax, eax
je 0x4b03a9
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jne 0x4af967
call fcn.004b5440
test al, al
je 0x4b03a9
mov ecx, dword [esi + 0xc]
mov byte [ecx], 0
add dword [esi + 0xc], 1
mov esi, dword [esi + 0x10]
test esi, esi
mov dword [esp + 0x30], esi
je 0x4b03a9
mov edi, dword [esp + 0x2c]
mov edx, esi
push 0
push edx
call fcn.004b4fc0
mov esi, eax
mov eax, edi
mov ecx, dword [eax + 0x60]
add esp, 8
cmp byte [eax + 0x81], 0
mov dword [eax + 0x5c], ecx
je 0x4afa1d
mov edx, eax
cmp byte [edx + 0x82], 0
jne 0x4afa1d
test esi, esi
jne 0x4afa2f
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4af9ff
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx + 4]
push esi
push ecx
push edx
call eax
add esp, 0xc
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x14], ecx
mov dword [edx], ecx
mov eax, dword [ebx + 0x1e0]
sub eax, 2
je 0x4b04a1
sub eax, 1
jne 0x4af894
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x50], 0
je 0x4af9c9
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov esi, ebx
call fcn.004b42c0
add esp, 8
jmp 0x4af9c9
test esi, esi
je 0x4b0364
cmp byte [esi + 0x22], 0
je 0x4b0370
cmp byte [esi + 0x20], 0
jne 0x4b037c
cmp dword [esi + 0x1c], 0
jne 0x4b0388
cmp dword [esi + 4], 0
je 0x4afaa6
cmp byte [ebx + 0x134], 0
jne 0x4afa8c
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4afa67
mov edx, dword [esi]
mov ecx, dword [ebx + 4]
push 0
push edx
push ecx
jmp 0x4af9c4
cmp dword [ebx + 0x50], 0
je 0x4af9c9
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x1c]
mov esi, ebx
call fcn.004b42c0
add esp, 8
jmp 0x4af9c9
push 0
push esi
mov esi, ebx
call fcn.004b3500
add esp, 8
test eax, eax
jne 0x4b04a6
jmp 0x4af9c9
cmp dword [ebx + 0x70], 0
je 0x4afa67
mov edi, ebx
mov byte [esi + 0x20], 1
call fcn.004b46f0
test eax, eax
mov byte [esi + 0x20], 0
je 0x4b03a9
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [ebx + 0x74]
push ecx
push eax
mov eax, dword [ebx + 0x70]
push edx
call eax
add esp, 0x14
test eax, eax
je 0x4b0394
mov ecx, dword [ebx + 0x1b0]
mov dword [ebx + 0x1ac], ecx
jmp 0x4af9c9
mov esi, dword [ebx + 0x170]
test esi, esi
je 0x4afb09
mov ecx, dword [esi]
mov dword [ebx + 0x170], ecx
jmp 0x4afb38
mov edx, dword [ebx + 0xc]
push 0x30
call edx
mov esi, eax
add esp, 4
test esi, esi
je 0x4b03a9
mov eax, dword [ebx + 0xc]
push 0x20
call eax
add esp, 4
test eax, eax
mov dword [esi + 0x24], eax
je 0x4b03a0
add eax, 0x20
mov dword [esi + 0x28], eax
xor ecx, ecx
mov dword [esi + 0x2c], ecx
mov edx, dword [ebx + 0x16c]
lea eax, [esi + 0x2c]
mov dword [esi], edx
mov dword [ebx + 0x16c], esi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x44]
add eax, ecx
push eax
mov dword [esi + 4], eax
mov edx, dword [edi + 0x20]
push edi
call edx
mov dword [esi + 8], eax
add dword [ebx + 0x138], 1
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], ecx
mov edx, dword [esi + 0x28]
sub edx, 1
push edx
lea ecx, [esp + 0x2c]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x3c]
push edi
call eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
cmp dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
je 0x4afc2b
jmp 0x4afbc0
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov edx, dword [ebx + 0x10]
sub eax, ecx
add eax, eax
push eax
push ecx
mov dword [esp + 0x3c], eax
call edx
add esp, 8
test eax, eax
je 0x4b03a9
mov ecx, dword [esp + 0x34]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edx
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov edx, dword [esi + 0x28]
sub edx, 1
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [edi + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
push edi
call eax
mov ecx, dword [esp + 0x34]
sub ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x2c]
add esp, 0x14
cmp dword [esp + 0x24], edx
mov dword [esp + 0x30], ecx
jne 0x4afbc0
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
lea eax, [esi + 0xc]
mov dword [eax], ecx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
push ecx
push eax
mov byte [edx], 0
mov edx, dword [ebp + 0x14]
push edx
push edi
push ebx
mov dword [esp + 0x48], eax
call fcn.004b0500
add esp, 0x14
test eax, eax
jne 0x4b04a6
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4afc8f
mov ecx, dword [ebx + 0x188]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [edx]
mov edx, dword [ebx + 4]
push ecx
push edx
call eax
add esp, 0xc
lea ecx, [ebx + 0x1a0]
call fcn.004b52a0
jmp 0x4af9cc
cmp dword [ebx + 0x50], 0
je 0x4afca8
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x18]
push edi
mov esi, ebx
call fcn.004b42c0
add esp, 8
lea ecx, [ebx + 0x1a0]
call fcn.004b52a0
jmp 0x4af9cc
mov esi, dword [ebp + 0x10]
mov edi, dword [esi + 0x44]
add edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x20]
push edi
push esi
mov dword [esp + 0x38], 0
mov byte [esp + 0x1b], 1
call ecx
add eax, edi
lea ecx, [ebx + 0x1a0]
push edi
mov edi, eax
push esi
mov eax, ecx
call fcn.004b5320
add esp, 0x10
test eax, eax
je 0x4afd29
mov edx, dword [ebx + 0x1ac]
cmp edx, dword [ebx + 0x1a8]
jne 0x4afd10
lea esi, [ebx + 0x1a0]
call fcn.004b5440
test al, al
jne 0x4afd10
xor eax, eax
jmp 0x4afd26
mov eax, dword [ebx + 0x1ac]
mov byte [eax], 0
add dword [ebx + 0x1ac], 1
mov eax, dword [ebx + 0x1b0]
mov esi, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x40], eax
je 0x4b03a9
mov ecx, dword [ebx + 0x1ac]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
mov dword [ebx + 0x1b0], ecx
mov ecx, dword [ebp + 0x14]
push ecx
push esi
push ebx
call fcn.004b0500
add esp, 0x14
test eax, eax
jne 0x4b04a6
mov eax, dword [ebx + 0x34]
test eax, eax
mov edx, dword [ebx + 0x1ac]
mov esi, dword [esp + 0x40]
mov dword [ebx + 0x1b0], edx
je 0x4afd8d
mov ecx, dword [ebx + 0x188]
mov edx, dword [ebx + 4]
push ecx
push esi
push edx
call eax
add esp, 0xc
xor al, al
jmp 0x4afd91
mov al, byte [esp + 0x13]
cmp dword [ebx + 0x38], 0
je 0x4afdb5
cmp dword [ebx + 0x34], 0
je 0x4afda9
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x38]
push esi
push eax
call ecx
jmp 0x4afdd2
test al, al
je 0x4afdd5
cmp dword [ebx + 0x50], 0
je 0x4afdd5
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x1c]
mov esi, ebx
call fcn.004b42c0
add esp, 8
lea ecx, [ebx + 0x1a0]
call fcn.004b52a0
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4afe1e
mov eax, dword [ebx + 0x68]
test eax, eax
mov edi, esi
je 0x4afdff
mov ecx, dword [esi]
mov edx, dword [ecx]
mov ecx, dword [ebx + 4]
push edx
push ecx
call eax
add esp, 8
mov edx, dword [ebx + 0x178]
lea eax, [esi + 4]
mov esi, dword [eax]
test esi, esi
mov dword [eax], edx
mov dword [ebx + 0x178], edi
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov dword [eax + 4], ecx
jne 0x4afde8
cmp dword [ebx + 0x138], 0
jne 0x4af9c9
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push ebx
call fcn.004b3310
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
cmp dword [ebx + 0x138], edx
je 0x4b0487
mov esi, dword [ebx + 0x16c]
mov eax, dword [esi]
mov ecx, dword [ebx + 0x170]
mov dword [ebx + 0x16c], eax
mov dword [esi], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x170], esi
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x20]
lea eax, [eax + edx*2]
push eax
push edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], eax
call ecx
add esp, 8
cmp eax, dword [esi + 8]
jne 0x4b03b5
cmp eax, 4
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], esi
jb 0x4afecc
jmp 0x4afeb0
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4aff6a
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x4afeb0
mov dword [esp + 0x18], esi
test eax, eax
jne 0x4aff6e
xor eax, eax
test eax, eax
jne 0x4b03b5
add dword [ebx + 0x138], 0xffffffff
cmp dword [ebx + 0x38], eax
je 0x4afff2
cmp byte [ebx + 0xec], al
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x10]
je 0x4aff54
test edx, edx
je 0x4aff54
mov eax, dword [ecx + 0x1c]
add eax, dword [ecx + 0xc]
mov cl, byte [edx]
test cl, cl
je 0x4aff1e
lea ecx, [ecx]
add edx, 1
mov byte [eax], cl
mov cl, byte [edx]
add eax, 1
test cl, cl
jne 0x4aff10
cmp byte [ebx + 0xed], 0
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x14]
je 0x4aff51
test esi, esi
je 0x4aff51
mov dl, byte [ebx + 0x1d8]
mov byte [eax], dl
mov cl, byte [esi]
add eax, 1
test cl, cl
je 0x4aff51
add esi, 1
mov byte [eax], cl
mov cl, byte [esi]
add eax, 1
test cl, cl
jne 0x4aff43
mov byte [eax], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0x38]
push ecx
push edx
call eax
jmp 0x4b0008
mov dword [esp + 0x18], esi
movzx edx, byte [esi]
movzx esi, byte [ecx]
sub edx, esi
jne 0x4affdd
add dword [esp + 0x18], 1
sub eax, 1
add ecx, 1
test eax, eax
je 0x4afed4
mov edx, dword [esp + 0x18]
movzx edx, byte [edx]
movzx esi, byte [ecx]
sub edx, esi
jne 0x4affdd
add dword [esp + 0x18], 1
sub eax, 1
add ecx, 1
test eax, eax
je 0x4afed4
mov edx, dword [esp + 0x18]
movzx edx, byte [edx]
movzx esi, byte [ecx]
sub edx, esi
jne 0x4affdd
mov edx, dword [esp + 0x18]
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4afed4
movzx edx, byte [edx]
movzx eax, byte [ecx]
sub edx, eax
je 0x4afed4
test edx, edx
mov eax, 1
jg 0x4afed6
or eax, 0xffffffff
jmp 0x4afed6
cmp dword [ebx + 0x50], 0
je 0x4b000b
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
push ecx
push edi
mov esi, ebx
call fcn.004b42c0
add esp, 8
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x2c], 0
je 0x4b0059
mov eax, edx
mov ecx, dword [ebx + 0x68]
test ecx, ecx
mov esi, dword [eax + 0x2c]
je 0x4b0033
mov eax, dword [esi]
mov edx, dword [eax]
mov eax, dword [ebx + 4]
push edx
push eax
call ecx
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 4]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebx + 0x178]
mov dword [esi + 4], ecx
mov dword [ebx + 0x178], esi
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [edx + 4], ecx
cmp dword [eax + 0x2c], 0
jne 0x4b0017
cmp dword [ebx + 0x138], 0
je 0x4afe2b
jmp 0x4af9cc
mov edx, dword [ebp + 0x14]
mov eax, dword [edi + 0x2c]
push edx
push edi
call eax
add esp, 8
test eax, eax
jl 0x4b03cb
mov esi, dword [ebx + 0x3c]
test esi, esi
je 0x4af904
lea ecx, [esp + 0x3c]
call fcn.004bfe70
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call esi
add esp, 0xc
jmp 0x4af9cc
mov eax, dword [ebx + 0x3c]
test eax, eax
je case.default.0x4af8c4
mov edx, dword [ebx + 4]
push 1
lea ecx, [esp + 0x17]
push ecx
push edx
mov byte [esp + 0x1f], 0xa
call eax
add esp, 0xc
jmp 0x4af9cc
cmp dword [ebx + 0x50], 0
je 0x4af9cc
mov eax, dword [ebp + 0x14]
push eax
push edi
mov eax, ecx
mov esi, ebx
call fcn.004b42c0
add esp, 8
jmp 0x4af9cc
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4b00f7
mov ecx, dword [ebx + 4]
push ecx
call eax
add esp, 4
jmp 0x4b010e
cmp dword [ebx + 0x50], 0
je 0x4b010e
mov edx, dword [ebp + 0x14]
push edx
push edi
mov eax, ecx
mov esi, ebx
call fcn.004b42c0
add esp, 8
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push eax
mov eax, ebx
call fcn.004b10e0
add esp, 0x10
test eax, eax
jne 0x4b04a6
cmp dword [esp + 0x14], eax
jne 0x4af9cc
mov dword [ebx + 0x118], 0x4b1020
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x3c]
test esi, esi
je 0x4b0216
cmp byte [edi + 0x48], 0
jne 0x4b0201
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
push eax
mov dword [esp + 0x28], edx
lea edx, [esp + 0x28]
push edx
push ecx
mov ecx, dword [edi + 0x3c]
lea eax, [ebp + 0x14]
push eax
push edi
call ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [eax], edx
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 4]
add esp, 0x14
sub ecx, eax
push ecx
push eax
push edx
call esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp eax, ecx
je 0x4af9cc
mov edi, edi
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
push edx
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [ebp + 0x14]
push ecx
push edi
call edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
add esp, 0x14
sub edx, eax
push edx
push eax
mov eax, dword [ebx + 4]
push eax
call esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp eax, ecx
jne 0x4b01b0
jmp 0x4af9cc
mov eax, dword [ebp + 0x14]
sub ecx, eax
push ecx
mov ecx, dword [ebx + 4]
push eax
push ecx
call esi
add esp, 0xc
jmp 0x4af9cc
cmp dword [ebx + 0x50], 0
je 0x4af9cc
mov edx, dword [ebp + 0x14]
push edx
push edi
mov eax, ecx
mov esi, ebx
call fcn.004b42c0
add esp, 8
jmp 0x4af9cc
mov eax, dword [ebp + 0x14]
push ecx
push eax
push edi
push ebx
call fcn.004b4100
add esp, 0x10
test eax, eax
je 0x4b03a9
jmp 0x4af9cc
mov edx, dword [ebp + 0x14]
push edx
push ebx
mov eax, ecx
mov edx, edi
call fcn.004b4220
add esp, 8
test eax, eax
je 0x4b03a9
jmp 0x4af9cc
cmp byte [ebp + 0x20], 0
je 0x4b0287
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x28]
mov dword [edx], esi
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4b02ab
mov edx, dword [ebx + 4]
push 1
lea ecx, [esp + 0x17]
push ecx
push edx
mov byte [esp + 0x1f], 0xa
call eax
add esp, 0xc
jmp 0x4b02c6
cmp dword [ebx + 0x50], 0
je 0x4b02c6
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push edi
mov esi, ebx
call fcn.004b42c0
mov esi, dword [ebp + 0x18]
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4b046d
cmp dword [ebx + 0x138], eax
jne 0x4b0487
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
je 0x4b0302
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4b046d
cmp dword [ebx + 0x138], eax
jne 0x4b0487
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x4b0319
mov eax, 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x4b0276
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x14]
push esi
call edx
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x11
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x4b02f1
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4b0445
cmp byte [edi + 0x48], 0
jne 0x4b0431
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x2c]
push edx
mov edx, dword [edi + 0x3c]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], ecx
push esi
lea ecx, [ebp + 0x14]
push ecx
push edi
call edx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx + 4]
add esp, 0x14
sub ecx, eax
push ecx
push eax
mov eax, dword [ebx + 0x3c]
push edx
call eax
add esp, 0xc
jmp 0x4b0460
mov ecx, dword [ebp + 0x14]
mov edx, esi
sub edx, ecx
push edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
call eax
add esp, 0xc
jmp 0x4b0460
cmp dword [ebx + 0x50], 0
je 0x4b0460
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push edx
push edi
mov esi, ebx
call fcn.004b42c0
mov esi, dword [ebp + 0x18]
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4b0479
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x138], eax
je 0x4b0493
mov ecx, dword [esp + 0x1c]
mov dword [ecx], esi
mov eax, 0xd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
mov dword [edx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret